the other jimmy / mbed-sdk-tools

Fork of mbed-sdk-tools by mbed official

Revision:
18:11afe2c1837e
Parent:
17:04753e1e329d
Child:
20:835f6355470d
diff -r 04753e1e329d -r 11afe2c1837e toolchains/__init__.py
--- a/toolchains/__init__.py	Fri Jul 15 12:33:09 2016 +0100
+++ b/toolchains/__init__.py	Fri Jul 15 12:37:38 2016 +0100
@@ -43,7 +43,7 @@
     results = []
     for command in job['commands']:
         try:
-            _, _stderr, _rc = run_cmd(command, job['work_dir'])
+            _, _stderr, _rc = run_cmd(command, work_dir=job['work_dir'], chroot=job['chroot'])
         except KeyboardInterrupt as e:
             raise ToolException