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

Issue: Invoke-Gsudo shows no output during execution #369

Open
o-l-a-v opened this issue Aug 2, 2024 · 0 comments
Open

Issue: Invoke-Gsudo shows no output during execution #369

o-l-a-v opened this issue Aug 2, 2024 · 0 comments

Comments

@o-l-a-v
Copy link

o-l-a-v commented Aug 2, 2024

Issue Description

gsudo $ScriptBlock shows output during execution, Invoke-Gsudo -ScriptBlock $ScriptBlock -NoProfile does not.

Steps to Reproduce

  1. Have some $ScriptBlock that uses $InformationAction = 'Continue' with Write-Information -MessageData 'Some info' inside it.
  2. Notice gsudo $ScriptBlock shows output during execution. Neat.
  3. Notice Invoke-Gsudo -ScriptBlock $ScriptBlock -NoProfile shows no output during execution. Dang.
    • Not that my command finally finished, all the output was shown.

Context:

  • Windows version: Windows 11, 23H2, en-US, 22631.3880
  • gsudo version: 2.5.1
@o-l-a-v o-l-a-v changed the title Issue: Invoke-Gsudo shows no output during execution Issue: Invoke-gsudo shows no output during execution Aug 2, 2024
@o-l-a-v o-l-a-v changed the title Issue: Invoke-gsudo shows no output during execution Issue: Invoke-Gsudo shows no output during execution Aug 2, 2024
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