I trying to write simple code that execute os command with parameters
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
target = "i586"
build = os.system('/usr/bin/hsh --target="target"')
But it always start as /usr/bin/hsh --target=target instead of target=i586. Also subprocess.call not working cause python too old.
Please help me.
'"target"'is a string containing eight characters"target"and not the content of the variabletarget.