diff options
author | Yuchen Deng <loaden@gmail.com> | 2012-08-01 18:06:50 +0800 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2012-08-01 13:39:00 +0200 |
commit | 5217c487605d039140405ebc25690ce90c5522f1 (patch) | |
tree | cb05a02f355a6834de70240dc7a6f8224e045737 /tests/manual | |
parent | 914361fa369318fd238ba5d5ee7367c986d8a75a (diff) |
Just directly call cmd.exe
Because user can change the installed path for Windows self.
And the %WINDIR%\System32 should added into PATH env.
Change-Id: I2f2ab6287b69c8c7b47f900370a89ade8612872d
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/codegen/codegen.qbp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/codegen/codegen.qbp b/tests/manual/codegen/codegen.qbp index 7a9d82a12..fec4f29dc 100644 --- a/tests/manual/codegen/codegen.qbp +++ b/tests/manual/codegen/codegen.qbp @@ -25,7 +25,7 @@ Project { var args = ['echo ' + code + '>' + output.fileName] var cmd if (product.modules.qbs.hostOS == 'windows') { - cmd = new Command('c:/Windows/System32/cmd.exe', ['/C'].concat(args)); + cmd = new Command('cmd.exe', ['/C'].concat(args)); } else { args[0] = args[0].replace(/\(/g, '\\(') args[0] = args[0].replace(/\)/g, '\\)') |