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 #93207 is a reply to message #93206] Thu, 12 May 2016 07:15 Go to previous messageGo to previous message
jiashenyue is currently offline  jiashenyue
Messages: 10
Registered: January 2013
Junior Member
On Thursday, May 12, 2016 at 6:19:24 AM UTC-7, KH wrote:
> Hello,
>
> 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.
>
> Thanks,
> Kim

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!

Shenyue
[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 11:43:06 PDT 2025

Total time taken to generate the page: 0.00420 seconds