New to scripting. I have a file containing a bash script with command lines from Unix in windows and need to run it from python in windows.
However to execute the file I need to pass several arguments as inputs. The command in Unix looks like this:
<path to file containing bash script> --arg_1 string_1 --arg_2 string_2 --arg_3 string_3 --arg4 string_4 --arg_5 <path to a required XML file from arg 5> --arg_6 <path to a required file from arg 6> --arg_7 <path to desired output file path> --arg_8 int
And then return the output file created from arg 7 as an output.