Skip to content

Commit 4e48204

Browse files
committed
Revert "fix(@angular-devkit/benchmark): Allows the CLI repo to be hosted in a directory with spaces. (angular#16073)"
This reverts commit 217eb29. Reverting as this is breaking some Windows/CI builds. See angular#16119.
1 parent 862b28f commit 4e48204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular_devkit/benchmark/src/monitored-process.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class LocalMonitoredProcess implements MonitoredProcess {
3737
run(): Observable<number> {
3838
return new Observable(obs => {
3939
const { cmd, cwd, args } = this.command;
40-
const spawnOptions: SpawnOptions = { cwd };
40+
const spawnOptions: SpawnOptions = { cwd: cwd, shell: true };
4141

4242
// Spawn the process.
4343
const childProcess = spawn(cmd, args, spawnOptions);

0 commit comments

Comments
 (0)