Skip to content

Commit 76f4bca

Browse files
committed
refactor: wip
1 parent 6e3445a commit 76f4bca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/utils/mocks/multiprocess-profiling/profiler-worker.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ try {
3737
new Promise((resolve, reject) => {
3838
const child = spawn('npx', ['tsx', workerScriptPath], {
3939
stdio: 'pipe',
40-
// NOTE: this is needed for windows as inheritance is not working there
41-
env: process.env,
40+
shell: process.platform === 'win32',
4241
});
4342

4443
child.on('close', code => {

0 commit comments

Comments
 (0)