in reply to Re^2: How to close command prompts opened with perl script after execution that script
in thread How to close command prompts opened with perl script after execution that script

That I don't know.

Several options come to mind:

Having a *nix background, I don't much like the Windows way of doing process management. I find they make simple things, like process management and IPC very hard to do. For example, I still haven't found a simple way to get unbuffered I/O between a parent process and its child, or do anything like what process groups make easy on *nix. Being lazy, I do my best to avoid such issues. But this is my fault - probably not something you should emulate.

  • Comment on Re^3: How to close command prompts opened with perl script after execution that script
  • Select or Download Code

Replies are listed 'Best First'.
Re^4: How to close command prompts opened with perl script after execution that script
by snreddy_gopu (Novice) on Aug 07, 2012 at 09:15 UTC
    Thanks for your information ig. Is it possible to open duplicate session in unix using Perl?

      I'm not sure what you mean by "duplicate session". You can start multiple processes and communicate with them. See perlipc for some of the options.

Re^4: How to close command prompts opened with perl script after execution that script
by snreddy_gopu (Novice) on Aug 07, 2012 at 10:52 UTC
    is there any way to capture the output in that newly opened command prompt.