OzzyOsbourne has asked for the wisdom of the Perl Monks concerning the following question:
I have run win32::process from my local machine, calling an executable from the server, and it appears as a process on my local workstation and I can see the notepad window.
When I call win32::process from a CGI script, it creates a background process on the web server (no window) called notepad.exe.
Question 1 : Does win32::process only create processes on the boxes that they are run on (no calling processes to run on other boxes)?
Question 2 :Why was the server version background (i.e. no window) and the local run was not?
Win32::Process::Create($ProcessObj, '//server/winnt/notepad.exe', 'notepad //server/winnt/temp.txt', 0, CREATE_NEW_CONSOLE, ".")|| die ErrorReport();
Thanks for all your help...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jcwren) RE: Where does Win32::process really run?
by jcwren (Prior) on Sep 14, 2000 at 23:28 UTC | |
by harpreet (Initiate) on Aug 08, 2001 at 20:08 UTC |