I have a python script (myscript.py) that I am running on the linux server like below:
python myscript.py
In my script I am using the system call, example below:
os.system("./myprogram.pl -x 5 > results.out")
When I run myscript.py on the server whenever there is os.system
call, the command call is visible on the server. Is there a way to hide all the command calls so that they are not displayed when they are called within the program (myscript.py
)? (This is not about hiding the output resulted in the command calls within the program)