in reply to Re: Where should I post such things?
in thread Where should I post such things?
but~/tmp$ ./x bash: ./x: /blabla: bad interpreter: No such file or directory ~/tmp$ perl -e 'exec("x") || die($!)' No such file or directory at -e line 1. ~/tmp$ perl -e 'exec("~/tmp/x") || die($!)' sh: /home/svenXY/tmp/x: /blabla: bad interpreter: No such file or dire +ctory
So now you know why the messages are different, but I'm confused as to why exec does not find file x...$ perl -e 'exec("pwd") || die($!)' /home/svenXY/tmp
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Where should I post such things?
by Corion (Patriarch) on Jan 24, 2008 at 11:21 UTC | |
|
Re^3: Where should I post such things?
by parv (Parson) on Jan 24, 2008 at 11:23 UTC |