SiHodgy007
asked on
Insert Variable in Python subprocess
Hi,
I’m looking over inserting a variable into subprocess.
command=r"""ifcobfig server| tail -1 """
output=subprocess.check_ou tput(comma nd, shell=True)
I’m looking over inserting a variable into subprocess.
command=r"""ifcobfig server| tail -1 """
output=subprocess.check_ou
You need to be more specific. Where specifically are you trying to use your variable? Are you getting an Exception? Which Exception?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Not required