in reply to Use another script to check bacground process

My idea was "somehow" to save reference to an object I get by Win32::Process::Create and later use this reference in another script.

It won't work.

Update:

To elaborate. If you "store" a system handle given to one process, in some persistent storage, and then try to retrieve that handle and use it from another process some time after the first process has ended, the handle will be invalid.

Ie. It won't work.


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.
  • Comment on Re: Use another script to check bacground process