mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-26 17:08:10 -05:00
fix: clear session state when changing specs in open mode (#23146)
This commit is contained in:
@@ -95,8 +95,6 @@ export async function spawned (
|
||||
|
||||
const [executable, ...rest] = command.split(' ')
|
||||
|
||||
// console.log(useExecutable, rest, spawnOpts)
|
||||
|
||||
const cp = universalSpawn(executable, rest, {
|
||||
stdio: 'pipe',
|
||||
...spawnOpts,
|
||||
@@ -133,13 +131,6 @@ export async function forked (
|
||||
) {
|
||||
const { waitForExit, waitForData, tapErr, tapOut, ...spawnOpts } = opts
|
||||
|
||||
// console.log(args)
|
||||
|
||||
// let useExecutable = executable
|
||||
// if (process.platform === 'win32' && !useExecutable.endsWith('.cmd')) {
|
||||
// useExecutable = `${executable}.cmd`
|
||||
// }
|
||||
|
||||
const cp = fork(modulePath, args, {
|
||||
stdio: 'pipe',
|
||||
...spawnOpts,
|
||||
|
||||
Reference in New Issue
Block a user