comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Help with SPAWN
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Help with SPAWN [message #42254] Mon, 24 January 2005 04:54
Haje Korth is currently offline  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 Go to previous message
enod is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: which plot windows are opened?
Next Topic: �Ѥ���ѴI�bA�y�K�ʤس��ж�����.............

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:11:11 PDT 2025

Total time taken to generate the page: 0.01083 seconds