Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Win32::Process::Create fails when i use ">" to redirect the screen output to a file

by prayaspatel (Initiate)
on Aug 28, 2012 at 20:20 UTC ( #990325=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Win32::Process::Create fails when i use ">" to redirect the screen output to a file
in thread Win32::Process::Create fails when i use ">" to redirect the screen output to a file

its working when i use "cmd.exe" and provide " too.exe -h" as commandline but the problem is when i want to kill it its killing cmd.exe....but actully i wanted to kill tool.exe

Comment on Re^3: Win32::Process::Create fails when i use ">" to redirect the screen output to a file
Replies are listed 'Best First'.
Re^4: Win32::Process::Create fails when i use ">" to redirect the screen output to a file
by james2vegas (Chaplain) on Aug 29, 2012 at 07:20 UTC
    Which is the same problem in the other thread which is unsolved. Perhaps use Win32::Process::List to get the process id to kill and then do Win32::Process::Open on that PID, and kill it that way.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990325]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-04-29 06:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (438 votes). Check out past polls.