rgibson_at_email.domain.hidden> I am trying to do wget through a system("") call in _isis_version = 10408. > Let's say I do this wget() by sourcing "tmp1.sl", included below. As you can > see, t2 is the return code from the system call. > > If I source("tmp1.sl") BEFORE I read in a large fits file, the result (t2) is > fine. If I source("tmp1.sl") immediately after I read in the fits file, the > result is always failure (t2 = -1). I conclude that reading in the fits file > has > somehow damaged an internal state. I think that it is more likely that there is not not enough memory to start the wget subprocess. Prior to calling the system function, in another window run the strace command on the isis process: (other window) unix% strace -p <isis-pid> -o /tmp/isis.log Then source the script, and assuming you see the -1 return value press ^C in the strace window to kill the strace process. Then post the contents of /tmp/isis.log file. Thanks, --John ---- You received this message because you are subscribed to the isis-users list. To unsubscribe, send a message to isis-users-request_at_email.domain.hiddenwith the first line of the message as: unsubscribeReceived on Wed Jan 23 2008 - 11:49:31 EST
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:45 EDT