Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Windows process suspend

by gautamparimoo (Beadle)
on Apr 25, 2013 at 04:50 UTC ( [id://1030579]=note: print w/replies, xml ) Need Help??


in reply to Re: Windows process suspend
in thread Windows process suspend

Any alternatives ? I need to suspend and resume a process using its pid in Windows.

One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man. -Elbert Hubbard

Replies are listed 'Best First'.
Re^3: Windows process suspend
by BrowserUk (Patriarch) on Apr 25, 2013 at 05:02 UTC

    Have you tried Win32::Process?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      Yup I have played with it for some time and it is not solving my purpose because:

      1. I have to launch a process from within a process which I am not in +favour of doing. Also the parameters have to be passed within that fi +le which i only decide at runtime which is easy to implement but incr +eases complexity. 2. My process runs in another computer of a domain whcile the exe are +thrown from the main node ie hub of domain, as a result the suspend c +ommands passed would run in my current node ie hub context not on the + machine on which i am running the process. 3.Win32::Process::Suspend gives me the freedom to suspend exe running +on any node by simply throwing a exe to node and specify its pid to s +uspend it.

      Second point is the main thing against Win32::Process.@BrowserUk and others any suggestions?

      One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man. -Elbert Hubbard
        My process runs in another computer

        So how are you getting the pid of that remote process?


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found