Skip to content

feat: add wait for windows start cmd#35

Open
heidingeww wants to merge 4 commits intoskratchdot:masterfrom
heidingeww:open-wait
Open

feat: add wait for windows start cmd#35
heidingeww wants to merge 4 commits intoskratchdot:masterfrom
heidingeww:open-wait

Conversation

@heidingeww
Copy link

No description provided.

@heidingeww
Copy link
Author

Open waits for the open command to complete. In reality, that means to wait for the open command to complete and not what it opens. The open command is using run32dll and when that completes, the app can still be running. It causes a race condition.

My fix with start /wait filename will fix this.

@dolmen
Copy link

dolmen commented Jul 16, 2024

This is a major behavior change.

This should instead be implemented as a separate function, and implementations for the other operating systems should be provided.

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