in reply to 'system' hangs in a Windows Tk app
I happen to do almost exactly what you ask - I place a button on Tk and when user presses it, I invoke VIM.
In order to achieve this, you need
See proper documentation.Win32::Process::Create($pobj, "$args[0]", "@args", 0, NORMAL_PRIORITY_CLASS, ".") || die "can't Win32::Process::Create: (\@args=[@args])". Win32::F +ormatMessage(Win32::GetLastError());
Also, using Tcl::Tk as a replacement to perlTk will give you many advantages.
Best regards,
Courage, the Cowardly Dog
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: 'system' hangs in a Windows Tk app
by ff (Hermit) on Mar 28, 2006 at 13:43 UTC | |
by Courage (Parson) on Mar 29, 2006 at 13:29 UTC |
In Section
Seekers of Perl Wisdom