Skip to content
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

Command output empty string #461

Open
sophieyfang opened this issue Feb 22, 2023 · 0 comments
Open

Command output empty string #461

sophieyfang opened this issue Feb 22, 2023 · 0 comments

Comments

@sophieyfang
Copy link

Feb 22 01:28:22 test-20230222-9e838-b843cf17-ad12-4d9f-a388-bff46ab6134d OSConfigAgent[1361]: 2023-02-22T01:28:22.8518Z OSConfigAgent Debug: Running "/usr/bin/zypper" with args ["--gpg-auto-import-keys" "--non-interactive" "install" "--auto-agree-with-licenses" "google-cloud-ops-agent"]
Feb 22 01:28:22 test-20230222-9e838-b843cf17-ad12-4d9f-a388-bff46ab6134d OSConfigAgent[1361]: 2023-02-22T01:28:22.8987Z OSConfigAgent Debug: /usr/bin/zypper ["--gpg-auto-import-keys" "--non-interactive" "install" "--auto-agree-with-licenses" "google-cloud-ops-agent"] exit code: 7, output:

"%s %q exit code: %d, output:\n%s", cmd.Path, cmd.Args[1:], cmd.ProcessState.ExitCode(), strings.ReplaceAll(stdout.String(), "\n", "\n "))

Shall the output also print stderr at this line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant