Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: wrapper script to conditionally exec different perls? (#!->#!->#!->...)

by stackspace (Initiate)
on Feb 15, 2012 at 22:41 UTC ( [id://954094]=note: print w/replies, xml ) Need Help??


in reply to Re^2: wrapper script to conditionally exec different perls? (#!->#!->#!->...)
in thread wrapper script to conditionally exec different perls?

Tye proposed using a compiled language for the wrapper program. Indeed, a simple C program performs the desired wrapping perfectly. Thanks much!

I suspect my problem had to do with something being run via "sh -c", even when my wrapper was a perl script. I got the same "exec: format error" that Tye did when strace'ing my script.

  • Comment on Re^3: wrapper script to conditionally exec different perls? (#!->#!->#!->...)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://954094]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 20:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found