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

Home » Public Forums » archive » IDL Spawn command on UNIX system
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: IDL Spawn command on UNIX system [message #16868 is a reply to message #16729] Sun, 22 August 1999 00:00 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
"John D. Sample" wrote:

> ----------
> In article <Pine.GHP.4.05.9908212248380.14331-100000@nagik.cs.colorado.edu>,
> Kenneth Mankoff <mankoff@nagik.cs.colorado.edu> wrote:
>
>>
>> On Sat, 21 Aug 1999, Mike Schienle wrote:
>>
>>> In article <37bf3790@mindmeld.idcomm.com>, "John D. Sample"
>>> <sample@idcomm.com> wrote:
>>>
>>>> I'm using IDL to SPAWN a c program on many UNIX systems using the 'remsh'
>>>> (remote shell) command.
>>>>
>>>> I would like to SPAWN these jobs in the background and forget them until
>>>> later, but, by default my IDL session stops and waits for the SPAWNed job to
>>>> be complete.
>>> ...
>>>
>>> I hope this is something you've overlooked and I'm not sounding like an
>>> idiot for suggesting it, but how about adding an ampersand (&) to the end
>>> of the command string which is sent to the spawn command? That would
>>> background the spawned command and return to the IDL command/program
>>> without waiting for the process to complete.
>>>
>>> --
>>> Mike Schienle Interactive Visuals, Inc.
>>> mgs@ivsoftware.com Remote Sensing and Image Processing
>>> http://www.ivsoftware.com/ Analysis and Application Development
>>>
>>
>> but it wouldn't solve the problem of your process quota. Talk to your
>> sysadmin, and ask them to raise the number of processes you are allowed to
>> run at any one given time to solve that problem.
>>
>> -ken.
>>
> Thanks for both replies. I am using the ampersand, and initially assumed
> this *would* send the process to the background. Apparently this is not
> enough to return control to IDL. Even though the process runs in the
> background, IDL still stops and waits for the process to complete before
> processing the next widget event. This is consistent with the documentation
> (which I consulted later).

This is only if you are using only xmanager, if you use widget_event you will be
able to get paralell another event.

R.Bauer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2D DWT Multiresolution decomposition
Next Topic: dicom question

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

Current Time: Tue Oct 14 17:22:46 PDT 2025

Total time taken to generate the page: 0.88223 seconds