setpgid function
am 29.10.2007 20:31:08 von PayelHi,
How can I use setpgid function in my shell program in order to
implement bg command.Could anybody give
me an example or brief idea.
Payel
Hi,
How can I use setpgid function in my shell program in order to
implement bg command.Could anybody give
me an example or brief idea.
Payel
Payel wrote:
>
> How can I use setpgid function in my shell program in order to
> implement bg command.Could anybody give
> me an example or brief idea.
Perl's POSIX module has a setpgid function that you could use.
perl -MPOSIX -e"setpgid( $pid, $pgid )"
John
--
use Perl;
program
fulfillment
In article <1193686268.934428.172670@y42g2000hsy.googlegroups.com>,
Payel
> Hi,
>
> How can I use setpgid function in my shell program in order to
> implement bg command.Could anybody give
> me an example or brief idea.
See the responses in your other thread "Background process
implementation". Don't start two threads on the same question, it's
really confusing.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***