Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

run linux command using python

import subprocess
subprocess.call("command1")
subprocess.call(["command1", "arg1", "arg2"])
Source by cmdlinetips.com #
 
PREVIOUS NEXT
Tagged: #run #linux #command #python
ADD COMMENT
Topic
Name
1+6 =