Re: Perl Stops Processing

2008-04-04 Thread inthepickle
I give thanks to everyone for all of the suggestions. Especially you Jenda . Yours is the easiest to implement, and exactly what I was looking for. David -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Perl Stops Processing

2008-04-03 Thread ken Foskey
On Wed, 2008-04-02 at 10:19 -0700, inthepickle wrote: > Really quick question. In Perl, if I open a file in notepad > system( "notepad.exe $file" ) ; > Perl stops processes and will not continue until I close notpad. > How can I open the file, and have Perl continue running? Look up start in th

Re: Perl Stops Processing

2008-04-03 Thread Jenda Krynicky
From: Rob Dixon <[EMAIL PROTECTED]> > Jenda Krynicky wrote: > > > > From: inthepickle <[EMAIL PROTECTED]> > > > >> Really quick question. In Perl, if I open a file in notepad > >> system( "notepad.exe $file" ) ; > >> Perl stops processes and will not continue until I close notpad. > >> How can I o

Re: Perl Stops Processing

2008-04-02 Thread Rob Dixon
Jenda Krynicky wrote: > > From: inthepickle <[EMAIL PROTECTED]> > >> Really quick question. In Perl, if I open a file in notepad >> system( "notepad.exe $file" ) ; >> Perl stops processes and will not continue until I close notpad. >> How can I open the file, and have Perl continue running? > > s

Re: Perl Stops Processing

2008-04-02 Thread Jenda Krynicky
From: inthepickle <[EMAIL PROTECTED]> > Really quick question. In Perl, if I open a file in notepad > system( "notepad.exe $file" ) ; > Perl stops processes and will not continue until I close notpad. > How can I open the file, and have Perl continue running? system(1, 'notepad.exe', $file) Jend

Re: Perl Stops Processing

2008-04-02 Thread Rob Dixon
inthepickle wrote: > > Really quick question. In Perl, if I open a file in notepad > system( "notepad.exe $file" ) ; > Perl stops processes and will not continue until I close notpad. > How can I open the file, and have Perl continue running? Quick question, slow answer. Perl will either spawn a

Re: Perl Stops Processing

2008-04-02 Thread yitzle
http://perldoc.perl.org/functions/system.html ... the parent process waits for the child process to complete. The return value is the exit status of the program as returned by the wait call. You want to first fork and run the command in its own thread. http://perldoc.perl.org/functions/fork.html