Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. # The following call doesn't work
  2. ret = subprocess.call([LXC_START_PATH, "-f", self.config_file, "-n", self.user.name, "-d", "--", "/start_container.sh"])
  3.  
  4. # But the output of this runs fine (copy pasted)
  5. print " ".join([LXC_START_PATH, "-f", self.config_file, "-n", self.user.name, "-d", "--", "/start_container.sh"])
  6.  
  7. The value of ret is 0.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement