X86: Implement IST stack switching.
[gem5.git] / SConstruct
index e65c2da39a2257704f282e1c70b62564565dc7d2..dc3addcd8a1c42fcfbef1da5a8b4b3321ab0b46e 100644 (file)
@@ -114,6 +114,9 @@ def read_command(cmd, **kwargs):
     this is sorta like `cmd` in shell"""
     from subprocess import Popen, PIPE, STDOUT
 
+    if isinstance(cmd, str):
+        cmd = cmd.split()
+
     no_exception = 'exception' in kwargs
     exception = kwargs.pop('exception', None)