In mount_configfs(), Popen args param should be a sequence
Fixes #37. Signed-off-by: Andy Grover <agrover@redhat.com>
This commit is contained in:
		| @@ -372,7 +372,7 @@ def modprobe(module): | ||||
| def mount_configfs(): | ||||
|     if not os.path.ismount("/sys/kernel/config"): | ||||
|         cmdline = "mount -t configfs none /sys/kernel/config" | ||||
|         process = subprocess.Popen(cmdline, | ||||
|         process = subprocess.Popen(cmdline.split(), | ||||
|                                    stdout=subprocess.PIPE, | ||||
|                                    stderr=subprocess.PIPE) | ||||
|         (stdoutdata, stderrdata) = process.communicate() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Andy Grover
					Andy Grover