| Index: native_client_sdk/src/tools/run.py
|
| diff --git a/native_client_sdk/src/tools/run.py b/native_client_sdk/src/tools/run.py
|
| index fb99b6d34a554656033a152b727e5f11c9aa39d0..52f059038fb0d8886565321e5c61a8137188841b 100755
|
| --- a/native_client_sdk/src/tools/run.py
|
| +++ b/native_client_sdk/src/tools/run.py
|
| @@ -74,8 +74,9 @@ def main(args):
|
| cmd = ['osascript', '-e',
|
| 'tell application "Terminal" to do script "%s"' %
|
| ' '.join(r'\"%s\"' % x for x in options.debug)]
|
| - else:
|
| - cmd = []
|
| + elif getos.GetPlatform() == 'win':
|
| + cmd = ['cmd.exe', '/c', 'start', 'cmd.exe', '/c']
|
| + cmd += options.debug
|
| print 'Starting debugger: ' + ' '.join(cmd)
|
| debug_process = subprocess.Popen(cmd, env=env)
|
| else:
|
|
|