Re: Help with SPAWN [message #42254] |
Mon, 24 January 2005 04:54 |
Haje Korth
Messages: 651 Registered: May 1997
|
Senior Member |
|
|
Marco,
try /hide instead of /noshell to start the console minimized. Read the help
for more detail...
Haje
"Marc Reinig" <Marco@newsgroups.nospam> wrote in message
news:41f1ad85$1@darkstar...
> I am running a Windows exe file from IDL. The EXE takes a single string
> parameter.
>
> tmp_path = '"' + exe_path + ' ' + result_path + '"'
> spawn, tmp_path
>
> It brings up the command window, runs the program, and works fine. Life
is
> good!
>
> Now I want to run it without the command window showing. However,
>
> spawn, tmp_path /NOSHELL won't run.
>
> What am I missing?
>
> Thanks in advance,
>
> -Marco
> ________________________
> Marc Reinig
> UCO/Lick Observatory
> Laboratory for Adaptive Optics
>
>
|
|
|
Re: Help with SPAWN [message #42259 is a reply to message #42254] |
Sat, 22 January 2005 06:33  |
enod
Messages: 41 Registered: November 2004
|
Member |
|
|
"spawn, tmp_path /NOSHELL"
Miss a comma?
If your EXE is a windows GUI program, SPAWN can call it without showing
the command window when supplied with /NOSHELL keyword. But, if you
want to run DOS command, use HIDE keyword can bring the command window
to back, while it will still show in the task bar.
Tian
Marc Reinig wrote:
> I am running a Windows exe file from IDL. The EXE takes a single
string
> parameter.
>
> tmp_path = '"' + exe_path + ' ' + result_path + '"'
> spawn, tmp_path
>
> It brings up the command window, runs the program, and works fine.
Life is
> good!
>
> Now I want to run it without the command window showing. However,
>
> spawn, tmp_path /NOSHELL won't run.
>
> What am I missing?
>
> Thanks in advance,
>
> -Marco
> ________________________
> Marc Reinig
> UCO/Lick Observatory
> Laboratory for Adaptive Optics
|
|
|