From: ts Date: 2006-07-21T17:45:46+09:00 Subject: Re: "insecure world writable" fix ? >>>>> "S" == Sean Harre writes: S> exec_str = "./foo.pl test\n" S> exec(exec_str) S> Anyone have an idea why this works? When ruby find some special characters (like \n;[]{} ...) in the string, it call the shell (/bin/sh -c) rather than trying to exec directly the program. In this case it don't test the variable PATH Guy Decoux