[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: workaround for NOWAIT on unix



Debbie,

If you are executing unix commands with call system, couldn't you add an &
to the end of the command line that is run?  This tells unix to run a
command in the background, and should immediately return control to the
scheduler.

chris

On Fri, 15 Dec 2000, Debbie Pavlak wrote:

> We have written several sqr programs that, collectively, will act as a
> request scheduler.  Now that I'm testing the results, I've discovered that I
> can't use "NOWAIT" with the call system command.
>
> Is there another way to accomplish this?  I want to process requests as they
> come in.  I don't want to wait each one finishes before starting the next.
>
> Thanks for your help!
>
> Debbie Pavlak
> Harvard University
>
> P.S.We are using SQR 4.2.3 on a UNIX box accessing Sybase databases.
>