[dvsim] Fix remaining comments from #5876
Signed-off-by: Srikrishna Iyer <sriyer@google.com>
diff --git a/util/dvsim/LocalLauncher.py b/util/dvsim/LocalLauncher.py
index bf6c8f5..70d7839 100644
--- a/util/dvsim/LocalLauncher.py
+++ b/util/dvsim/LocalLauncher.py
@@ -42,7 +42,6 @@
self._dump_env_vars(exports)
- args = shlex.split(self.deploy.cmd)
try:
f = open(self.deploy.get_log_path(),
"w",
@@ -50,7 +49,7 @@
errors="surrogateescape")
f.write("[Executing]:\n{}\n\n".format(self.deploy.cmd))
f.flush()
- self.process = subprocess.Popen(args,
+ self.process = subprocess.Popen(shlex.split(self.deploy.cmd),
bufsize=4096,
universal_newlines=True,
stdout=f,