Re: system/system_exec problem
- Posted by irvm at ellijay.com Jun 17, 2003
- 492 views
On Tuesday 17 June 2003 01:09 pm, jbrown wrote: > Strange. If anything, it sounds like a flaw in the way KDE handles the > running of apps from the icon. > > Try the following program at the bottom of this email, it bypasses the Eu > routine and goes straight into glibc ... if this program also hangs, then > its not a bug in Eu. Thanks, I give it a try. I already tried: #!/usr/bin/perl system("ls > DIRECTORY"); Which works fine from the icon (or cmd line) #!/usr/bin/python import os os.system("ls > DIRECTORY") Also works fine from the icon (or cmd line) > P.S. Are you sure the redirection works in the command line? The docs say > that redirection is not possible in system_exec(), but that might only > apply to DOS/Win. Yes. It works every time from the command line or from an xterm. It even works from the icon IF you tell KDE to "run this in a terminal". But, of course, that pops up an xterm window, with a "press enter" message, which is what I am trying to avoid. And after you tell KDE to run euphoria executables in a terminal, it pops up an xterm for every euphoria GUI progarm, most of which neither need nor want a terminal. Regards, Irv