-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
stdio pipe option returns an empty string #995
Comments
Thanks for reaching out. When I run your first example on Ubuntu 23.10, Node 22.0.0, npm 10.6.0, Execa 8.0.1, I get the following result instead: {
command: 'npm info @storybook/cli version --json',
escapedCommand: 'npm info "@storybook/cli" version --json',
exitCode: 0,
stdout: '"8.0.9"',
stderr: '',
all: undefined,
failed: false,
timedOut: false,
isCanceled: false,
killed: false
} What is your OS, Node.js version, npm version and Execa version? |
@pavitra-infocusp Did you end up solving this problem? If so, should we close this issue? |
Yes, it did! Thanks for you help! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stdio pipe option doesn't return the output. Using the inherit option reveals that the command executes successfully and logged in to the stdout.
Actual
The stdout value shouldn't be an empty string.
Expected
Context
Origin issue: storybookjs/storybook#26553 (comment)
The text was updated successfully, but these errors were encountered: