Re: Perl fork() system call

2009-02-21 Thread Jenda Krynicky
From: "Chas. Owens" > On Wed, Feb 18, 2009 at 12:14, Chuck wrote: > > Hello, > > > > We have a GUI where, if a button is clicked, Putty (the remote access > > program) is launched using > > > > System("C:\\Progra~1\\Putty\\putty.exe"); > > > > is launched. However, when this is executed, the orig

Re: Perl fork() system call

2009-02-19 Thread Raymond Wan
Hi Chuck, Chuck wrote: We have a GUI where, if a button is clicked, Putty (the remote access program) is launched using System("C:\\Progra~1\\Putty\\putty.exe"); is launched. However, when this is executed, the original GUI freezes, and we cannot use it unless we close Putty. We tried using

Re: Perl fork() system call

2009-02-19 Thread Chuck
thanks for the help, everyone. We found a way that works...we used Win32::Process::Create. On Feb 18, 7:02 pm, chas.ow...@gmail.com (Chas. Owens) wrote: > On Wed, Feb 18, 2009 at 12:14, Chuck wrote: > > Hello, > > > We have a GUI where, if a button is clicked, Putty (the remote access > > program

Re: Perl fork() system call

2009-02-19 Thread kevin liu
Hi Chuck: I don't think exec will do the right thing. According to perldoc.perl.org, exec will stop the current process to execute another one while system will do a fork() first, so system will be your right choice I think. This is a short example I did recently: **

Re: Perl fork() system call

2009-02-18 Thread Chas. Owens
On Wed, Feb 18, 2009 at 12:14, Chuck wrote: > Hello, > > We have a GUI where, if a button is clicked, Putty (the remote access > program) is launched using > > System("C:\\Progra~1\\Putty\\putty.exe"); > > is launched. However, when this is executed, the original GUI freezes, > and we cannot use i

Perl fork() system call

2009-02-18 Thread Chuck
Hello, We have a GUI where, if a button is clicked, Putty (the remote access program) is launched using System("C:\\Progra~1\\Putty\\putty.exe"); is launched. However, when this is executed, the original GUI freezes, and we cannot use it unless we close Putty. We tried using the fork() command l