I am running a program where first I run a batch and then I want to do other things which need the script run by batch file to be active. The problem is that the instructions after the running of the batch are not executed because the execution of the batch script is not terminated. The code is something like…
Tag: batch-file
Running python script in python shell from a windows batch file
I’m trying to run a python script “index.py” in python shell from a .bat file on windows. I tried this first script but it will only open my script in the Python UI without running it : I tried this second script, but I have issues with os.listdir(relativefolder/) in my python script, as if …
Split audio files using silence detection
I’ve more than 200 MP3 files and I need to split each one of them by using silence detection. I tried Audacity and WavePad but they do not have batch processes and it’s very slow to make them one by one. The scenario is as follows: split track whereas silence 2 seconds or more then add 0.5 s at th…
Jenkins not printing output of python script in console
I have a python script(myscript.py) as follows: In jenkins, I have a job with execute shell as follows: Problem: Jenkins console shows only “I can see this message on Jenkins console output”. If there is any output from the subprocess call, it does not print it out on the console. If I putty to Se…
(Errno 22) invalid argument when trying to run a python program from a bat file
I’m following this exactly but it is not working https://youtu.be/qHcHUHF_Qfo?t=438 I type the location in the run window: I get error message: can’t open file ‘c:users”Zachary’: [Errno 22] invalid argument The bat file is: I’ve searched everywhere and can’t find an a…