Re: spawn on windows platform [message #10586] |
Thu, 08 January 1998 00:00 |
Manolo Sanchez del Ri
Messages: 2 Registered: January 1998
|
Junior Member |
|
|
R. Bauer wrote:
> Hi,
>
> i like to use spawn to execute a batch file on a pc.
>
> if I do spawn,'test.bat'
>
> then dos box is started and closed but the batch will not be executed.
>
> What is wrong
>
> Reimar
If you are using IDL this should work.
Are your sure you placed test.bat in the correct directory?
You may
1) type the full path of test.bat
2) try just "spawn" and then type test on the spawned MS-DOS window.
Manuel
|
|
|
Re: spawn on windows platform [message #10592 is a reply to message #10586] |
Thu, 08 January 1998 00:00  |
Klaus Scipal
Messages: 45 Registered: November 1997
|
Member |
|
|
Do you use IDL or pv-wave?
If you use pv-wave, it depends on the environment you use. Spawn only works
with Unix or OpenVMS
but not with windows. Take a look in the on-line help interapplication
communication of pv-wave.
Klaus
R. Bauer schrieb in Nachricht <34B32D23.E232FF76@fz-juelich.de>...
> Hi,
>
> i like to use spawn to execute a batch file on a pc.
>
> if I do spawn,'test.bat'
>
> then dos box is started and closed but the batch will not be executed.
>
> What is wrong
>
> Reimar
>
>
|
|
|