
Quick Links:
Empeg FAQ
|
RioCar.Org
|
Hijack
|
BigDisk Builder
|
jEmplode
|
emphatic
Repairs: Repairs
|
#254808 - 24/04/2005 16:18
Re: Hijack & ;@MENUEXEC
[Re: ukengb]
|
addict
Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
|
Quote: I have a script that kills the player, runs rsync (as a client) and then kills bash, but it gets stuck with rsync still running
If you run your script from a shell spawned by telnetd, this shell will be the process group leader for every process you will start from this shell. If you give this shell a hangup signal, normal *ix behaviour is that every process that is in the same process group, *and* that is attached to the same terminal, will inherit this signal.
If you run your script from hijack, there will be no terminal attached, so all the programs you start will act as daemons.
The simple solution for your particular problem might be to killall rsync, although I don't understand why rsync does not exit when it is finished.
Pim
Edited by pim (24/04/2005 16:43)
|
Top
|
|
|
|
|
|
|