bash
From: Reiner Funck (reiner.funck_at_dwd.de)
Date: 03/30/05
- Next message: Reiner Funck: "bash and PID"
- Previous message: bmgz: "Re: bash"
- Next in thread: Barry Margolin: "Re: bash"
- Reply: Barry Margolin: "Re: bash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Mar 2005 12:31:30 +0200
hallo,
I have a little problem with bash
my a.out makes only printf(..., getpid(), getppid())
echo $$; ( a.out; v=1; )
results:
8093
27760 27759
8093 for PID of terminal-shell, 27759 for subshell
of '(...)' and 27760 for subshell of a.out.
What happens with:
echo $$; ( a.out; )
8093
27780 8093
one subshell "fails", why?
I have not found anything in man page.
Many thanks for help, Reiner
- Next message: Reiner Funck: "bash and PID"
- Previous message: bmgz: "Re: bash"
- Next in thread: Barry Margolin: "Re: bash"
- Reply: Barry Margolin: "Re: bash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|