由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - rsh hangs on background job
相关主题
a question about operating system土问题
Help for No Hangup processA question about cron job
shell programming真心求助!谢谢。
.cshrc?.login?.profile?**真心求助!!多谢了!!
请求帮助!!!How to monitor peak memory usage?
login shell and normal shell?how to change login shell?
procmail: a mini-mimi FAQUNIX下编程求助
multiple file copy[转载] Daxiamen, Please look at what's worng here?Thx.
相关话题的讨论汇总
话题: rsh话题: hangs话题: tmp话题: myserver话题: background
进入Unix版参与讨论
1 (共1页)
i***e
发帖数: 2
1
Hi,
I am trying to do a rsh like this
> rsh remote-host sh /tmp/test.sh
The /tmp/test.sh on remote host looks like this:
#!/bin/sh
ls
myserver &
echo `pwd`
When I invoke the rsh, rsh hangs after `pwd` was printed and
it looks like it waits for the end of the background job of
myserver.
If I invoke the /tmp/test.sh locally, there is no problem,
the shell script exits normally. I am wondering how I can
avoid the script hangup when using rsh. Thanks.
1 (共1页)
进入Unix版参与讨论
相关主题
[转载] Daxiamen, Please look at what's worng here?Thx.请求帮助!!!
I am crazy about this!!login shell and normal shell?
About exit/logoutprocmail: a mini-mimi FAQ
[转载] pthread programming question.multiple file copy
a question about operating system土问题
Help for No Hangup processA question about cron job
shell programming真心求助!谢谢。
.cshrc?.login?.profile?**真心求助!!多谢了!!
相关话题的讨论汇总
话题: rsh话题: hangs话题: tmp话题: myserver话题: background