http://www.perlmonks.org?node_id=1030581


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

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.

Replies are listed 'Best First'.
Re^4: Windows process suspend
by gautamparimoo (Beadle) on Apr 25, 2013 at 05:29 UTC

    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.

        It creates a share on my computer and creates a output file which contains the pid through $$ on that machine.

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