Skip to content

[Bug] code run does not release port after process termination (MSI version) #63

@marcelbf

Description

@marcelbf

Description:
When using the MSI version of the Power Platform CLI, the pac code run command does not release the port it was using after the process is terminated with Ctrl+C. This causes issues when trying to restart the command, as the port remains occupied.
Steps to Reproduce:
Install the MSI version of the Power Platform CLI.
Run pac code run.
Terminate the process using Ctrl+C.
Attempt to run pac code run again.

Expected Behavior: The port used by pac code run should be released upon termination of the process.
Actual Behavior: The port remains occupied, preventing reuse until manually cleared or system restart.

Workaround: manually kill the process, or use the dotnet tools installation of PAC CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known IssueThis is a known issue.bugSomething isn't workingin the backlogThe issue is in the backlog for product team to fix

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions