Re: How to run a shell command but not waiting for the result ?

2003-07-14 Thread Jenda Krynicky
From: Paul Johnson <[EMAIL PROTECTED]> > On Mon, Jul 14, 2003 at 06:31:31PM +0200, Jenda Krynicky wrote: > > > You want > > system( 1, "notepad"); > > > Actually this is something that should be documented better. > > I don't think anyone really wants to document it because it is such an > u

Re: How to run a shell command but not waiting for the result ?

2003-07-14 Thread Paul Johnson
On Mon, Jul 14, 2003 at 06:31:31PM +0200, Jenda Krynicky wrote: > You want > system( 1, "notepad"); > Actually this is something that should be documented better. I don't think anyone really wants to document it because it is such an ugly hack :-( -- Paul Johnson - [EMAIL PROTECTED] http

Re: How to run a shell command but not waiting for the result ?

2003-07-14 Thread Jenda Krynicky
From: "LI NGOK LAM" <[EMAIL PROTECTED]> > I've tried to use exec, system, and ``. And also with and without $| = > 1; but seems unable to do what I want. If everything else fails, try to read the manual :-) perldoc -f exec exec LIST exec PROGRAM LIST The "exec" function executes a system

Re: How to run a shell command but not waiting for the result ?

2003-07-14 Thread Beau E. Cox
- Original Message - From: "LI NGOK LAM" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 14, 2003 6:05 AM Subject: How to run a shell command but not waiting for the result ? I've tried to use exec, system, and ``. And also with and without $|

RE: How to run a shell command but not waiting for the result ?

2003-07-14 Thread Tim Johnson
ssage- From: LI NGOK LAM [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 9:06 AM To: [EMAIL PROTECTED] Subject: How to run a shell command but not waiting for the result ? I've tried to use exec, system, and ``. And also with and without $| = 1; but seems unable to do what I want.

How to run a shell command but not waiting for the result ?

2003-07-14 Thread LI NGOK LAM
I've tried to use exec, system, and ``. And also with and without $| = 1; but seems unable to do what I want. What I want to do is suppose like this : print "Start"; exec "notepad"; print "End"; but I found my results are : If I can see "End", the notepad won't come, If I can run the notepad, I