Skip to content

Suggestion: Make powershell window visible inside the sandbox #42

@obuolinis

Description

@obuolinis

The reasoning is that running a powershell script in sandbox is very handy for testing scripts, and while testing you really want to see everything that powershell outputs in the console.

It would take just a little tweak to the powershell command line in RunInSandbox.ps1:

From:
powershell.exe -sta -WindowStyle Hidden -NoProfile -ExecutionPolicy Unrestricted -File
To:
powershell.exe -sta -NoProfile -ExecutionPolicy Unrestricted -Command `"start powershell {-NoLogo -NoExit -File
(plus of course a closing brace after a file name and any params)

P.S. powershell is already running hidden, no need for -WindowStyle Hidden. I have to add that I did my tests on Windows 11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions