Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: problems calling bash script

by irah (Pilgrim)
on Mar 23, 2009 at 05:51 UTC ( #752513=note: print w/replies, xml ) Need Help??


in reply to problems calling bash script

    Did you give execute permission (755) for that script?
    Did you execute using backtick(`)?

Replies are listed 'Best First'.
Re^2: problems calling bash script
by incognito129 (Acolyte) on Mar 23, 2009 at 05:58 UTC
    im using backtick and permissions are correct. I just tested using the system command and it runs fine but i need the output.

      Both the script are working fine for me. The bash script contains,

      #!/bin/bash echo `date`;

      The Perl script contains,

      #!/usr/bin/perl use strict; use warnings; print `./bash_script`;

      You can take this as sample and continue the process. You may forget to mention the path.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2022-01-22 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (62 votes). Check out past polls.

    Notices?