Skip to content

Replace exec to spawn for running tested app #2857

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
miherlosev opened this issue Sep 13, 2018 · 2 comments
Closed

Replace exec to spawn for running tested app #2857

miherlosev opened this issue Sep 13, 2018 · 2 comments
Labels
AREA: server TYPE: enhancement The accepted proposal for future implementation.

Comments

@miherlosev
Copy link
Collaborator

miherlosev commented Sep 13, 2018

When a tested app command (provided via the --app parameter) outputs a large number of log messages to stdout or stderr, it can overflow child process buffers used by the child_process.exec function. We should use child_process.spawn that doesn't have this limitation.

@AndreyBelym
Copy link
Contributor

Workarounds:

macOS/Linux
testcafe --app "yarn start >/dev/null 2>&1" 
Windows
testcafe --app "yarn start >NUL"

@AndreyBelym
Copy link
Contributor

Closed by f163ccb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AREA: server TYPE: enhancement The accepted proposal for future implementation.
Projects
None yet
Development

No branches or pull requests

2 participants