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 shell subprocess and wait for it to complete (using the system() call as you have described) or start a process and exit (using a call to exec()). You may want to take a look at calling fork(), but starting a process from another process leaves the parent with a big responsibility, and it's more likely that your Perl program should simply complete all that it has to do and then exec "notepad $file"; when it is about to terminate. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/