|
Home > Archive > Unix administration > November 2005 > How to realize such function?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to realize such function?
|
|
|
| Hi ,all:
How to code such function:
One program "A" running in the middle , triggel another program "B",
then "A" and "B" run at same time ?
I cannot figure it out . thanks for any help.
=BB=D8=B8=B4
| |
| Chris F.A. Johnson 2005-10-31, 5:58 pm |
| On 2005-10-31, yezi wrote:
> Hi ,all:
>
> How to code such function:
>
> One program "A" running in the middle , triggel another program "B",
> then "A" and "B" run at same time ?
A &
B
--
Chris F.A. Johnson | Author:
<http://cfaj.freeshell.org> | Shell Scripting Recipes:
Any code in this post is released | A Problem-Solution Approach,
under the GNU General Public Licence | 2005, Apress
| |
| Barry Margolin 2005-11-01, 2:59 am |
| In article <1130781040.859292.92180@g14g2000cwa.googlegroups.com>,
"yezi" <ye_line@hotmail.com> wrote:
> Hi ,all:
>
> How to code such function:
Wouldn't this question be more appropriate for comp.unix.programmer than
comp.unix.admin? What does it have to do with system administration?
>
> One program "A" running in the middle , triggel another program "B",
> then "A" and "B" run at same time ?
>
> I cannot figure it out . thanks for any help.
Program A should fork(), and then the child process should use exec() to
run "B".
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
|
|
|
|
|