I forgot to put
#!/bin/bash
at the top of the sh file, problem solved.
More Related Contents:
- Pass input/variables to command/script over SSH using Python Paramiko
- Call Python script from bash with argument
- How to store the result of an executed shell command in a variable in python? [duplicate]
- Run interactive Bash with popen and a dedicated TTY Python
- PYTHONPATH not working for sudo on GNU/Linux (works for root)
- Extracting data from HTML table
- Change working directory in shell with a python script
- Running Bash commands in Python
- Why does multiprocessing use only a single core after I import numpy?
- How would I build python myself from source code on Ubuntu?
- Python subprocess .check_call vs .check_output
- Set chrome browser binary through chromedriver in Python
- Python – is time.sleep(n) cpu intensive? [duplicate]
- Can Python select what network adapter when opening a socket?
- Change default Python version from 2.4 to 2.6
- Redirecting command output in docker
- Return value of x = os.system(..) [duplicate]
- Splitting out the output of ps using Python
- Where can I find and install the dependencies for pygame?
- Integer File Descriptor “0” in open()
- Uninstall python built from source?
- How to run bash commands inside of a Python script [duplicate]
- Bash style process substitution with Python’s Popen
- Execute Subprocess in Background
- Get mouse deltas using Python! (in Linux)
- How do I use vi keys in ipython under *nix?
- Could not find or load the Qt platform plugin “xcb”
- Python multiprocessing memory usage
- How to move .conda from one folder to another at the moment of creating the environment
- Python – Trap all signals