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

Home » Public Forums » archive » Re: spawn question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: spawn question [message #60600 is a reply to message #60590] Sun, 01 June 2008 15:41 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Jun 1, 2:25 pm, russ <rlaybe...@hotmail.com> wrote:
> On 1 Jun, 19:33, Vince Hradil <hrad...@yahoo.com> wrote:
>
>> On Jun 1, 1:09 pm, russ <rlaybe...@hotmail.com> wrote:
>
>>> On 31 May, 17:21, Vince Hradil <hrad...@yahoo.com> wrote:
>
>>>> On May 31, 5:20 am, russ <rlaybe...@hotmail.com> wrote:
>
>>>> > this may be a tupid question and it might be that i am an idiot,
>>>> > but...
>
>>>> > i want to spawn a process
>
>>>> > cmd='ls -l'
>>>> > spawn,cmd
>
>>>> > i am actually doing this with a GET command and it sometimes hangs
>
>>>> > if i try
>
>>>> > spawn,cmd,/nowait
>
>>>> > it tells me
>
>>>> > Keyword NOWAIT not allowed in call to: SPAWN
>
>>>> > but it says it is in the help?
>
>>>> > any ideas?
>
>>>> > thanks
>
>>>> > russ
>
>>>> Your using the GET command?  So what exactly are you spawning?- Hide quoted text -
>
>>>> - Show quoted text -
>
>>> I'm spawning
>
>>> cmd='GEThttp://www.etc> outfile.txt'
>>> spawn,cmd
>
>>> to get a webpage into a filer which then i can read
>
>> Now I'm confused - and I'm no expert on this, but don't you have to
>> have some kind of http connection to run a "GET" command?  The OS
>> won't know what to do with "GET" (unless you have some program called
>> GET that opens a connection and executes a GET).- Hide quoted text -
>
> sorry if i'm not being clear.  the GET command gets the contents of a
> website and the > operator puts it in a file which i subsequently
> read.
>
> sometimes the GET command hangs.  there is a timeout option on GET
> which I can't make work.
>
> i think i will just ask if the file has been created and if it hasnt
> after sometime, kill the GET command and do another one with a
> different http site
>
> russ

Yes, but GET is not an OS command. You need to have a stream from
which to GET the data? Maybe I'm wrong, like I said, I don't really
understand the whole thing. But if I type "GET http://www.yahoo.com"
at the command prompt, my OS says - "unknown command: GET" or
something like that.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Project sav file in 7.0
Next Topic: Block selection in IDL7

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

Current Time: Sat Oct 11 00:10:29 PDT 2025

Total time taken to generate the page: 3.28325 seconds