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

Home » Public Forums » archive » Re: SPAWN command blocked in 5.3.1
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: SPAWN command blocked in 5.3.1 [message #33612] Tue, 14 January 2003 06:14
hieninger is currently offline  hieninger
Messages: 9
Registered: December 2002
Junior Member
Hi Ben,


> I use spawn quite a bit (way too much) for creating directories,
> copying files, etc on Windows. It works in the situation because the
> computer is married to a sonar instrument closely intergated with
> Windows. I have used SPAWN successfully in this situation in IDL
> versions 5.2 through 5.5.
>
>
> The follwing works for me using IDL 5.3.1 on Win 98 2ed
>
> ** Structure !VERSION, 5 tags, length=40:
> ARCH STRING 'x86'
> OS STRING 'Win32'
> OS_FAMILY STRING 'Windows'
> RELEASE STRING '5.3.1'
> BUILD_DATE STRING 'Feb 23 2000'
> IDL> spawn, 'start netscape'


this is what I call an adequate answer!
Thanks a lot.


> I don't want to suggest the obvious,


you did... ;-))

( but who knows, or as a Teacher of mine always says 99% of
all errors are caused by cable problems )

> as if you hadn't thought of it
> already, but have tested your spawned command directly at the MSDOS
> prompt?


I tried
c:\full\path\to\netscape.exe
%comspec%
c:\command.com
both on MSDOS prompt --> ok
and on IDL prompt/Application --> *n*ok

> If it works there but not when you use the IDL 'SPAWN'
> command, then you have a case for Tech Support at RSI.
>
> Good luck,


seems that I could nead a proper dose of...

> Ben
>
Thanks again,


Harro
Re: SPAWN command blocked in 5.3.1 [message #33613 is a reply to message #33612] Tue, 14 January 2003 05:31 Go to previous message
btupper is currently offline  btupper
Messages: 55
Registered: January 2002
Member
On Tue, 14 Jan 2003 13:14:10 +0100, Harro Uwe Hieninger
<hiening@zi.biologie.uni-muenchen.de> wrote:


>
> "Is it supposed to work, (then there should be a switch that forbids it
> on my system), or NOT ( then I should forget the stuff )
>
Hello,

I use spawn quite a bit (way too much) for creating directories,
copying files, etc on Windows. It works in the situation because the
computer is married to a sonar instrument closely intergated with
Windows. I have used SPAWN successfully in this situation in IDL
versions 5.2 through 5.5.


The follwing works for me using IDL 5.3.1 on Win 98 2ed

** Structure !VERSION, 5 tags, length=40:
ARCH STRING 'x86'
OS STRING 'Win32'
OS_FAMILY STRING 'Windows'
RELEASE STRING '5.3.1'
BUILD_DATE STRING 'Feb 23 2000'
IDL> spawn, 'start netscape'


I don't want to suggest the obvious, as if you hadn't thought of it
already, but have tested your spawned command directly at the MSDOS
prompt? If it works there but not when you use the IDL 'SPAWN'
command, then you have a case for Tech Support at RSI.

Good luck,
Ben
Re: SPAWN command blocked in 5.3.1 [message #33614 is a reply to message #33613] Tue, 14 January 2003 04:19 Go to previous message
hieninger is currently offline  hieninger
Messages: 9
Registered: December 2002
Junior Member
Hi Craig,


Craig Markwardt wrote:

> "Harro Uwe Hieninger" <hieninger@debitel.net> writes:
>
>> Hi Andrew and William,
>>
>> 1. no Demo mode
>> 2. no VMS
>>
>> OS: win98
>>
>> So, next guess ? ;-))
>>
>
> Student version?


NO

> DOS path?


NO

> Use of non-windows features in SPAWN invocation?


NO

;-(

Harro
Re: SPAWN command blocked in 5.3.1 [message #33615 is a reply to message #33614] Tue, 14 January 2003 04:14 Go to previous message
hieninger is currently offline  hieninger
Messages: 9
Registered: December 2002
Junior Member
Hi William,


> Not sure really. Does the concept of spawn make sense in win98?


Starting a program from an IDL-Application CAN make sense in any
environment, but that's not what I want to discuss here and now.


> Ie,
> is it supposed to be supported in IDL?


It works fine under NT4. And I want to make my IDL-Application platform
independent.

> Other than that, how about
> upgrading to a real OS ;-)


I'm not responsible ( nor do I really want to be ) for the OS of other
people.

So, I just wanted to have the simple question answered:

"Is it supposed to work, (then there should be a switch that forbids it
on my system), or NOT ( then I should forget the stuff )

Thanks
Harro
Re: SPAWN command blocked in 5.3.1 [message #33621 is a reply to message #33615] Mon, 13 January 2003 20:32 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"Harro Uwe Hieninger" <hieninger@debitel.net> writes:
> Hi Andrew and William,
>
> 1. no Demo mode
> 2. no VMS
>
> OS: win98
>
> So, next guess ? ;-))

Student version?
DOS path?
Use of non-windows features in SPAWN invocation?

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: SPAWN command blocked in 5.3.1 [message #33626 is a reply to message #33621] Mon, 13 January 2003 10:40 Go to previous message
wmconnolley is currently offline  wmconnolley
Messages: 106
Registered: November 2000
Senior Member
Harro Uwe Hieninger <hieninger@debitel.net> wrote:
> Hi Andrew and William,

> 1. no Demo mode
> 2. no VMS

> OS: win98

Not sure really. Does the concept of spawn make sense in win98? Ie,
is it supposed to be supported in IDL? Other than that, how about
upgrading to a real OS ;-) ?

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.nerc-bas.ac.uk/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
I'm a .signature virus! copy me into your .signature file & help me spread!
Re: SPAWN command blocked in 5.3.1 [message #33636 is a reply to message #33626] Mon, 13 January 2003 04:24 Go to previous message
Harro Uwe Hieninger is currently offline  Harro Uwe Hieninger
Messages: 5
Registered: January 2003
Junior Member
Hi Andrew and William,

1. no Demo mode
2. no VMS

OS: win98

So, next guess ? ;-))

Harro
Re: SPAWN command blocked in 5.3.1 [message #33639 is a reply to message #33636] Mon, 13 January 2003 01:27 Go to previous message
wmconnolley is currently offline  wmconnolley
Messages: 106
Registered: November 2000
Senior Member
Andrew & Jo Cool <cooladjc@chariot.net.au> wrote:
>> trying to start a programm from IDL, I got a message box telling me
>> "SPAWN blocked by IDL"
>>
>> I assume this is a security thing?! But is there a way to allow it?

> 1. Is your IDL session in Demo mode? If so, then Spawning
> commands is probably a no-no.

> 2. Under VMS at least, if you fill up your disk
> quota, Spawn jobs may fail, as they open a temporary file.

Another possibility is, under unix, to have reached your process number limit,
in which case odd things can happen.

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.nerc-bas.ac.uk/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
I'm a .signature virus! copy me into your .signature file & help me spread!
Re: SPAWN command blocked in 5.3.1 [message #33643 is a reply to message #33639] Sun, 12 January 2003 15:25 Go to previous message
A. D. &amp; J.C. Cool is currently offline  A. D. &amp; J.C. Cool
Messages: 16
Registered: February 2000
Junior Member
Harro Uwe Hieninger wrote:
>
> Hi there,
>
> trying to start a programm from IDL, I got a message box telling me
> "SPAWN blocked by IDL"
>
> I assume this is a security thing?! But is there a way to allow it?
>
> Thanks,
> Harro


Hi Harro,

Two possibilities come to mind.

1. Is your IDL session in Demo mode? If so, then Spawning
commands is probably a no-no.

2. Under VMS at least, if you fill up your disk
quota, Spawn jobs may fail, as they open a temporary file.


You don't say what OS you're using, or exactly what you're
trying to Spawn, so I'm fishing in the dark for answers... ;-)


Gruess,

Andrew

cooladjc@chariot.net.au

(on holiday, but still reading this group - is that sick or what?)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Somewhat flummoxed: 'Expression must be a scalar in this context'
Next Topic: string definition question

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

Current Time: Wed Oct 08 13:38:23 PDT 2025

Total time taken to generate the page: 0.00570 seconds