|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
In article <1193686268.934428.172670@y42g2000hsy.googlegroups .com>,
Payel <kar.payel@gmail.com> wrote: > 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 *** |
|
![]() |
| Outils de la discussion | |
|
|