slloyd has asked for the wisdom of the Perl Monks concerning the following question:
#setup the APi Call $CreateProcess = new Win32::API("kernel32", "CreateProcess",['P','P',' +P','P', 'N','N', 'P','P','P','P'],'N'); $dwFlags 1|0x00000100; my $si = pack("LLLLLLLLLLLL SS LLLL",68,0,0,0,0,0,0,0,0,0,0,$dwFlags,0 +,0,0,-1,-1,-1); my $processinfo = pack("LLLL",0,0,0,0); #now attempt to pipe the call to a handle open(CP,$CreateProcess->Call(0,"ipconfig",0,0,0,0x10,0,".",$si,$proces +sinfo) |);
Any help would be appreciated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I pipe a Win32::API Process to a handle?
by NetWallah (Canon) on Feb 23, 2004 at 18:44 UTC | |
by Grygonos (Chaplain) on Feb 23, 2004 at 20:26 UTC | |
by Thelonius (Priest) on Feb 23, 2004 at 21:34 UTC | |
|
Re: How do I pipe a Win32::API Process to a handle?
by bart (Canon) on Feb 24, 2004 at 03:05 UTC |