Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Help with exec and error message I am getting.

by Fastolfe (Vicar)
on Dec 21, 2001 at 03:12 UTC ( [id://133660]=note: print w/replies, xml ) Need Help??


in reply to Help with exec and error message I am getting.

Assuming the perl-Tw bit is a typo, I would check to see if /opt/BIPSConnect/bin/rdes is a shell script, and if so, whether it's written for a particular shell and just isn't declaring this on the first #! line. It's possible that the shell this was intended for is the shell you're using, but Perl's exec (and/or the system's execvp()) function is running it under a different one.

I'm just making guesses here, though. There's not a lot of information here to go on.

Replies are listed 'Best First'.
Re: Re: Help with exec and error message I am getting.
by basicdez (Pilgrim) on Dec 26, 2001 at 23:26 UTC

    What rdes is is a C program that I need to call from within Perl. How do I do that?

    peace, LOVE and ((code))

    basicdez

      I'm lost at this point. If 'rdes' is a C program (which I'm assuming you mean it was a program written in C and then compiled to a binary executable for your system), then I don't know what else you could try. I'm a bit confused about your message to me privately, though, where you said you added the shebang line with no effect. If this is a binary executable, a "shebang" line is not desired, and would have corrupted the executable (assuming your editor let you edit it at all). Since you reported no change in your findings, something is not as you say.

      Regardless, I don't think this is a Perl problem. Contact your system administrator and/or the vendor for this 'rdes' program.

Log In?
Username:
Password:

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

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

    No recent polls found