diff options
Diffstat (limited to 'qbs/imports/QtcProcessOutputReader/procoutputreader.js')
-rw-r--r-- | qbs/imports/QtcProcessOutputReader/procoutputreader.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/qbs/imports/QtcProcessOutputReader/procoutputreader.js b/qbs/imports/QtcProcessOutputReader/procoutputreader.js deleted file mode 100644 index 695a61ec88..0000000000 --- a/qbs/imports/QtcProcessOutputReader/procoutputreader.js +++ /dev/null @@ -1,11 +0,0 @@ -var Process = loadExtension("qbs.Process") - -function readOutput(executable, args) -{ - var p = new Process(); - var output = ""; - if (p.exec(executable, args, false) !== -1) - output = p.readStdOut().trim(); // Trailing newline. - p.close(); - return output; -} |