1. Does Linux have a ShellExecute ?
- Posted by Al Getz <Xaxo at aol.com> Jun 29, 2004
- 549 views
Howdy, Does anyone know if Linux has the equivalent of the Windows ShellExecute, and if so, how is it called? This is not the system() call or system_exec() call, but i'd still like to be able to call if from Euphoria. Also, anyone have any info about the syncronicity of the Eu system() and system_exec() calls under Linux? Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"
2. Re: Does Linux have a ShellExecute ?
- Posted by irv mullins <irvm at ellijay.com> Jun 30, 2004
- 533 views
Al Getz wrote: > > Howdy, > > Does anyone know if Linux has the equivalent of > the Windows ShellExecute, and if so, how is it called? > This is not the system() call or system_exec() call, > but i'd still like to be able to call if from Euphoria. > Also, anyone have any info about the syncronicity of > the Eu system() and system_exec() calls under Linux? Give us an example of what you are trying to accomplish, please. Irv
3. Re: Does Linux have a ShellExecute ?
- Posted by Al Getz <Xaxo at aol.com> Jun 30, 2004
- 530 views
Irv, I often find i have to call other programs from my main program that's why i wanted shellexecute. I've also used it for other things, but that's the main use. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"
4. Re: Does Linux have a ShellExecute ?
- Posted by irv mullins <irvm at ellijay.com> Jun 30, 2004
- 539 views
Al Getz wrote: > > Irv, > > I often find i have to call other programs from my main > program that's why i wanted shellexecute. I've also used > it for other things, but that's the main use. For that, system() works fine. If you want the called program to start and return immediately to the main pgm, you call the other program(s) with an '&', as in system("exu foo &",0) That starts "foo" running in the background. If foo is a graphics pgm, its window will pop up. Without the '&', your main program will wait until the called pgm is finished. However, if the called program prints text to the screen, then there's a problem: when a Eu program quits, it displays "Press Enter" and waits. This stops further processing by the main program. I don't know why this is necessary, but that's what Eu does. You can also use shell commands such as wait, I've never needed to use those. Irv