>> How can running a script throw 'listen1' can get 'rc' to fail an >> 'if' test?!?!
> This looks like you're using p9p. Have you checked your PATH? > It might not be finding an executable, or finding the wrong version > of an executable. Sure. Take, for instance, this script uniquely named 'tester.rc': #!/usr/bin/env rc echo -n I am the real tester: ~ $1 $2 I can change 'listen_test.rc' to use it: #!/usr/bin/env rc for (i in `{seq 1 5}){ if (./tester.rc $i 3) { echo ' ' $i equals 3 } if not echo ' ' $i is different from 3 } Now I get: $./listen_test.rc I am the real tester: 1 is different from 3 I am the real tester: 2 is different from 3 I am the real tester: 3 equals 3 I am the real tester: 4 is different from 3 I am the real tester: 5 is different from 3 But: $listen1 'tcp!localhost!8080' ./listen_test.rc & $dial -e 'tcp!localhost!8080' I am the real tester: 1 equals 3 I am the real tester: 2 equals 3 I am the real tester: 3 equals 3 I am the real tester: 4 equals 3 I am the real tester: 5 equals 3 Thanks, Maurício