in reply to Net::SFTP::Foreign + putty query ..

Is the code under Windows using Win32::Process::Create() and ->GetProcessID() then later Win32::Process::KillProcess() to kill the process? It works differently to Unix. See this code example for cross-platform process spawn/kill Re: Perl Background processes in Windows
  • Comment on Re: Net::SFTP::Foreign + putty query ..

Replies are listed 'Best First'.
Re^2: Net::SFTP::Foreign + putty query ..
by salva (Canon) on Nov 14, 2009 at 12:18 UTC
    Is the code under Windows using Win32::Process::Create() and ->GetProcessID()

    No, it uses IPC::Open2::open2 to create a new process with its I/O channels redirected to a pair of pipes.

    Would it be possible to use Win32::Process::Create in that way?