-
r=run_command('ls') works fine however if I create an executable file called scpt containing 'ls' and use
Running '/home/tom/dev/pj/scpt' in bash also works as expected. |
Beta Was this translation helpful? Give feedback.
Answered by
5wattbulb
Jan 6, 2022
Replies: 1 comment 2 replies
-
Finally got this to work by inserting |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
5wattbulb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Finally got this to work by inserting
#!/bin/bash
at the beginning of the script.