in reply to BSYSTEM/B call on windows misbehaves

System, as you said, returns 0 when execution is successful. Therefore the lines:
if(!system("$program>$seq_file")) { # not //;) error }
Aren't correct. Because When the return of system is false, as you check in the condition, there's no error. I think you should drop the !..

Replies are listed 'Best First'.
Re: Re: SYSTEM call on windows misbehaves
by Cheburashka (Acolyte) on Mar 01, 2002 at 22:51 UTC
    by god you are right...that's what I get for using other people's scripts...thanks a lot.