http://qs1969.pair.com?node_id=33676


in reply to 2 programs as 2 processes

use the fork, Luke...

#!/home/bbq/bin/perl
# Trust no1!

Replies are listed 'Best First'.
RE: (bbq) Re: 2 programs as 2 processes
by tye (Sage) on Sep 22, 2000 at 23:47 UTC

    Note that the originaly poster appears to be using a Microsoft "operating system" which means that fork probably isn't the best choice. This is because prior to Perl 5.6.0, fork() didn't work. With Perl 5.6.0, fork() might work for this but it is very new and appears to be quite buggy in some situations.

    Personally I'd use system(1,"script") to prevent the calling script from waiting.

            - tye (but my friends call me "Tye")