diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c8e20d8..bb4e6fc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -87,5 +87,5 @@ jobs: - name: Run win32 tests if: matrix.os == 'windows-latest' - run: node --loader ts-node/esm --experimental-specifier-resolution=node ./src/test/ts/zurk.test.ts + run: yarn test:unit timeout-minutes: 5 diff --git a/src/main/ts/spawn.ts b/src/main/ts/spawn.ts index dba1f01..1188101 100644 --- a/src/main/ts/spawn.ts +++ b/src/main/ts/spawn.ts @@ -74,7 +74,7 @@ export const normalizeCtx = (...ctxs: TSpawnCtx[]): TSpawnCtxNormalized => assig ee: new EventEmitter(), ac: new AbortController(), on: {}, - detached: true, + detached: process.platform !== 'win32', shell: true, spawn: cp.spawn, spawnSync: cp.spawnSync,