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

Home » Public Forums » archive » SPAWN result
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 result [message #93213 is a reply to message #93207] Fri, 13 May 2016 03:05 Go to previous messageGo to previous message
Markus Schmassmann is currently offline  Markus Schmassmann
Messages: 129
Registered: April 2016
Senior Member
On 05/12/2016 04:15 PM, SHENYUE JIA wrote:
> On Thursday, May 12, 2016 at 6:19:24 AM UTC-7, KH wrote:
>> I have a wget spawn command that runs every night and is terminated in the morning by another
>> program if it has not finished downloading. What I would like to know
is how can I tell if the
>> process completed on its own or was terminated. I've tried including
RESULT and ERROR in the
>> call, but they both return empty strings.
>>
>> SPAWN, WGET_CMD, WGET_RESULT, WGET_ERROR
>>
>> Is there anyway to figure out if this job completed or was terminated? I could check the last
>> line of the log file, but I was hoping there was an easier way.
> Good question. And this is a major shortcoming of SPAWN. I was always using SPAWN under Mac OS X
> and I found the only way to track if the session has finished is by
looking at the tasks and
> threads from the Activity Monitor of the system. If you are using
Windows, you may have to track
> it from the Task Manager of the system. SPAWN does not provide any
verbose output even if your own
> program is written in this way.
>
> Not sure if the following link from this group is somewhat helpful but you can give it a try.
>
> CPU Process Manager Library / Parallel Processing
>
> https://groups.google.com/forum/?utm_source=digest&utm_m edium=email#!topic/comp.lang.idl-pvwave/8RTM6eBUhzY
>
> Thanks to Nata, the composer of this library!

have you tried this?

SPAWN, WGET_CMD, WGET_RESULT, WGET_ERROR, EXIT_STATUS=variable

not sure it will do what you need, but if it should if I remember wget
correctly

Markus
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: sqrt in legend() crossing power index
Next Topic: SVDFIT error

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

Current Time: Wed Oct 08 15:56:26 PDT 2025

Total time taken to generate the page: 0.00419 seconds