|The stupid question is the question not asked|
'system' hangs in a Windows Tk appby ff (Hermit)
|on Mar 27, 2006 at 20:55 UTC||Need Help??|
ff has asked for the
wisdom of the Perl Monks concerning the following question:
I hope this is not too esoteric, but I'm having a problem with system on my W2K machine after upgrading from ActiveState Perl 5.8.4 to 5.8.8. Things like the following initiate action, such as running vim against a specified file, but then control does not seem to return to my program, i.e. the Tk window from which I kicked off the system command has frozen and I have to kill the application.
In the Release Notes section of the 5.8.8 documentation there is a section called 'New warnings and deprecations'. Among other things it says that:
The exec LIST and system LIST operations now produce warnings on tainted data and in some future release they will produce fatal errors.
I'm not running the program in Taint mode and so I wouldn't expect this is relevant. But maybe it is.
Elsewhere in the docs, I find the following, though this should have been absorbed/okay on my previous platform of 5.8.4.
Build 808 Saturday, Dec 6, 2003
The following seems to illustrate the problem on my (now) 5.8.8 system; running it produces a widget with an 'Ok' button; press it, you edit a README file, but the controlling Tk app in the background does not experience a destroy. Switch to the dummy line instead of the system line and it seems to destroy just fine. Hmm.