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 #60602 is a reply to message #60600] Sun, 01 June 2008 12:25 Go to previous messageGo to previous message
russ[1] is currently offline  russ[1]
Messages: 8
Registered: April 2008
Junior Member
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
[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:12:27 PDT 2025

Total time taken to generate the page: 0.40171 seconds