| Index: utils/pub/io.dart
|
| diff --git a/utils/pub/io.dart b/utils/pub/io.dart
|
| index ac9836af5078e2e40ed4f6496376f3bc5fd31e5d..22982b049e354dec3b22f445bef2a47b5f76dd58 100644
|
| --- a/utils/pub/io.dart
|
| +++ b/utils/pub/io.dart
|
| @@ -264,11 +264,13 @@ String getFullPath(entry) => new File(_getPath(entry)).fullPathSync();
|
| * piped streams won't be available in the result object.
|
| */
|
| Future<PubProcessResult> runProcess(String executable, List<String> args,
|
| - [String workingDir, bool pipeStdout = false, bool pipeStderr = false]) {
|
| + [workingDir, bool pipeStdout = false, bool pipeStderr = false]) {
|
| int exitCode;
|
|
|
| final options = new ProcessOptions();
|
| - if (workingDir != null) options.workingDirectory = workingDir;
|
| + if (workingDir != null) {
|
| + options.workingDirectory = _getDirectory(workingDir).path;
|
| + }
|
|
|
| final process = Process.start(executable, args, options);
|
|
|
|
|