In QNX 4.25, can a shell script fork?
I want a shell script to do some work, then return control to the caller
while it does some remaining clear up.
–
Bill Caroselli – 1(626) 824-7983
Q-TPS Consulting
QTPS@EarthLink.net
In QNX 4.25, can a shell script fork?
I want a shell script to do some work, then return control to the caller
while it does some remaining clear up.
–
Bill Caroselli – 1(626) 824-7983
Q-TPS Consulting
QTPS@EarthLink.net
“Bill Caroselli” <qtps@earthlink.net> wrote in
news:a7dlnm$afe$1@inn.qnx.com:
In QNX 4.25, can a shell script fork?
I want a shell script to do some work, then return control to the caller
while it does some remaining clear up.
You want a shell script that spawns a new shell script to do work
asyncronously to the parent?
in shell.sh:
#!/bin/sh
shell2.sh &
echo “Parent still working”
Cheers,
Adam
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>
Yes, I knew I could do that. I don’t want to have to use two different
script files.
I also, know I can call myself but pass a flag to tell the second invocation
to start up differently. I didn’t want to do that either. But I guess
that’s my only option.
–
Bill Caroselli – 1(626) 824-7983
Q-TPS Consulting
QTPS@EarthLink.net
“Adam Mallory” <amallory@qnx.com> wrote in message
news:Xns91D963F5FC9EEamalloryqnxcom@209.226.137.4…
“Bill Caroselli” <> qtps@earthlink.net> > wrote in
news:a7dlnm$afe$> 1@inn.qnx.com> :In QNX 4.25, can a shell script fork?
I want a shell script to do some work, then return control to the caller
while it does some remaining clear up.You want a shell script that spawns a new shell script to do work
asyncronously to the parent?in shell.sh:
#!/bin/sh
shell2.sh &
echo “Parent still working”Perhaps I’m misunderstanding the question.
\Cheers,
AdamQNX Software Systems Ltd.
[ > amallory@qnx.com > ]With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net