[Thread Prev][Thread Next][Index]

Re: [ferret_users] spawn stops working



Hi Ansley,

I have sometimes experienced delayed or failed execution of sp commands. Just recently I was able to "fix" this by issuing a slight delay to allow my command to complete before continuing in my script:

...............
sp my-linux-command
sp sleep 1
.............

Is the intended default behavior of ferret to wait until the spawned command is completed before continuing in the script?

Thanks for any tips.

-Al Hermann

On Tue, Nov 3, 2015 at 2:31 PM, Ansley Manke <ansley.b.manke@xxxxxxxx> wrote:
Hi Marco,
I can't think of anything that would cause this, and we haven't had other reports of it happening. Ferret makes a Fortran "system" call,

https://gcc.gnu.org/onlinedocs/gfortran/SYSTEM.html

and does nothing more, so there's not much to it.  If you start Ferret with "ferret -secure", where system calls are not allowed, then you'd see an error message, but it doesn't sound like that's the case.

Ansley


On 11/3/2015 5:39 AM, Marco van Hulten wrote:
Dear Ferretters,

Sometimes the spawn command doesn't work anymore, so usually

   yes? sp echo test
   test

but sometimes

   yes? sp echo test

The same for any other command I tried.  After restarting Ferret
spawning works again.  I do not know how to reproduce this.  Any ideas
why this may happen?

I'm using Ferret 6.93 (on RHEL/CentOS 6.7).

Marco




[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement