I am trying to run bash script.sh
file in Python.
I tried running it through following code:
subprocess.call("script.sh", shell=True)
but it runs the script outside python and asks Windows application to run this file.
I want this script.sh
to be run in Python command line.
I want Python to run this script.