I did below command 

ksh -x "$scripts_path/scriptB.sh" > /dev/null 2>&1 &

and it seems this command is doing what I need.
 
Thanks Larry.
Moises.


-----Original Message-----
From: Zanabria, Moises 
Sent: Wednesday, July 27, 2005 10:36 AM
To: 'Larry Jones'
Cc: '[email protected]'
Subject: RE: Execute an script in background

Thanks Larry and sorry for the MIME.

Actually I tried that also,  using :

Script_B.sh > /dev/null 2>&1 &

But the script A still waiting for script B results.

Is there another way ?

Moises.

-----Original Message-----
From: Larry Jones [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 27, 2005 10:29 AM
To: Zanabria, Moises
Cc: [email protected]
Subject: Re: Execute an script in background

Zanabria, Moises writes:
> 
> This is a multi-part message in MIME format.

Please do not send MIME and/or HTML encrypted messages to the list.
Plain text only, PLEASE!

> I have two scripts one script is running in the commitinfo,  lets say 
> script A,  script A has embedded script B, I want to run script B in 
> the background, so in other words I need finish script A and leave 
> script B in the background, however script A always wait for script B
results.

You probably need to redirect script B's stdin, stdout, and/or stderr.

-Larry Jones

All girls should be shipped to Pluto--that's what I say. -- Calvin



_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs

Reply via email to