in reply to A clue!
in thread vanishing system call

If I use $!, I get a message that says "not enough space"...

This is because $! is not the right variable to use, and probably has never been set in your program (and so contains some random and unrelated value). See the above post by virtualsue for the correct debugging method for system.



If God had meant us to fly, he would *never* have given us the railroads.
    --Michael Flanders

Replies are listed 'Best First'.
Re: Re: A clue!
by sauoq (Abbot) on Sep 20, 2002 at 23:01 UTC
    This is because $! is not the right variable to use

    The only time $! is meaningful with regard to system() is when the return value in $? (the right variable to use) is -1. A -1 indicates that the program didn't start. In that case, $! should tell you why.

    -sauoq
    "My two cents aren't worth a dime.";