Skip to content

fix(generatecmd): check cmd.Start() error before inserting cmd in to running map#1382

Merged
a-h merged 2 commits intoa-h:mainfrom
MilkeeyCat:fix/command-running
May 10, 2026
Merged

fix(generatecmd): check cmd.Start() error before inserting cmd in to running map#1382
a-h merged 2 commits intoa-h:mainfrom
MilkeeyCat:fix/command-running

Conversation

@MilkeeyCat
Copy link
Copy Markdown
Contributor

Fixes a logic bug where cmd was inserted into running map even if cmd.Start() returned an error, which results in a panic when such cmd is used in kill function.

@a-h a-h merged commit b310a97 into a-h:main May 10, 2026
4 checks passed
@MilkeeyCat MilkeeyCat deleted the fix/command-running branch May 10, 2026 08:47
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

Successfully merging this pull request may close these issues.

2 participants