in reply to Unable to 'exec'

or die "exec failed";
Will it print anything useful it you use exec ... or die "exec failed: $!\n";?
Sorry if my advice was wrong.

Replies are listed 'Best First'.
Re^2: Unable to 'exec'
by Technext (Acolyte) on Aug 21, 2012 at 13:55 UTC
    Thanks. I tried using die but it didn't help. exec always passes successfully.