satchboost has asked for the wisdom of the Perl Monks concerning the following question:
use Win32::Process; my $Process; unless (Win32::Process::Create( $Process, "D:\\Profiles\\rkinyon1\\Desktop\\BOOST2\\mm_sim\\bin\\mm_sim.pl", "mm_sim.pl", 0, DETACHED_PROCESS, ".")) { print "The process wasn't created\n"; } else { sleep 10; system "telnet localhost 4455"; }
The pertinent things to note are that the file mm_sim.pl is a PERL script that creates (among other things) a telnet server on localhost:4455. I have done a system() call and it works just fine. (As in, I can telnet to localhost:4455 without a problem from another window.) Does Win32::Process::Create() just not like PERL scripts? That's rather prejudiced...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32 Processes
by the_slycer (Chaplain) on Mar 31, 2001 at 03:12 UTC | |
|
Re: Win32 Processes
by jplindstrom (Monsignor) on Mar 31, 2001 at 03:23 UTC |