Re: How to run Eu pgm FROM Eu pgm, with PARAMETERS (for 2nd Eu pgm)
- Posted by Dan_M Jul 11, 2009
- 1169 views
DerekParnell said...
Dan_M said...
How can I run a Euphoria program FROM a Euphoria program,
Try...
scode = shellExecuteEx ( "open", "ex.exe", sprintf("%s %s %s", {aCompare, FirstFile, SecondFile}), 0,SW_NORMAL , 0)
The third parameter to shellExecuteEx is a string - it's what you would have otherwise typed on a command line.
Two more questions: What are the error codes, numerically, for shellExecuteEx,or where are they defined?
and, what if the path/file name includes SPACES in the path, how do I specify that so that a DOS program can handle it?
Dan