{"action":"created","issue":{"url":"https://api.github.com/repos/jrsoftware/issrc/issues/149","labels_url":"https://api.github.com/repos/jrsoftware/issrc/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/jrsoftware/issrc/issues/149/comments","events_url":"https://api.github.com/repos/jrsoftware/issrc/issues/149/events","html_url":"https://github.com/jrsoftware/issrc/issues/149","id":60084158,"number":149,"title":"Allow to block for a process that has been Exec'd with ewNoWait","user":{"login":"sschuberth","id":349154,"avatar_url":"https://avatars.githubusercontent.com/u/349154?v=3","gravatar_id":"","url":"https://api.github.com/users/sschuberth","html_url":"https://github.com/sschuberth","followers_url":"https://api.github.com/users/sschuberth/followers","following_url":"https://api.github.com/users/sschuberth/following{/other_user}","gists_url":"https://api.github.com/users/sschuberth/gists{/gist_id}","starred_url":"https://api.github.com/users/sschuberth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschuberth/subscriptions","organizations_url":"https://api.github.com/users/sschuberth/orgs","repos_url":"https://api.github.com/users/sschuberth/repos","events_url":"https://api.github.com/users/sschuberth/events{/privacy}","received_events_url":"https://api.github.com/users/sschuberth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T10:26:13Z","updated_at":"2015-03-06T10:56:43Z","closed_at":null,"body":"It would be nice if there was a way to wait for a process to finish that has been `Exec`'d with `ewNoWait`. If calling `CreateProcess` directly, that would be done via `WaitForSingleObject`, but Inno Setup currently does not seem to expose something analogous."},"comment":{"url":"https://api.github.com/repos/jrsoftware/issrc/issues/comments/77541647","html_url":"https://github.com/jrsoftware/issrc/issues/149#issuecomment-77541647","issue_url":"https://api.github.com/repos/jrsoftware/issrc/issues/149","id":77541647,"user":{"login":"sschuberth","id":349154,"avatar_url":"https://avatars.githubusercontent.com/u/349154?v=3","gravatar_id":"","url":"https://api.github.com/users/sschuberth","html_url":"https://github.com/sschuberth","followers_url":"https://api.github.com/users/sschuberth/followers","following_url":"https://api.github.com/users/sschuberth/following{/other_user}","gists_url":"https://api.github.com/users/sschuberth/gists{/gist_id}","starred_url":"https://api.github.com/users/sschuberth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschuberth/subscriptions","organizations_url":"https://api.github.com/users/sschuberth/orgs","repos_url":"https://api.github.com/users/sschuberth/repos","events_url":"https://api.github.com/users/sschuberth/events{/privacy}","received_events_url":"https://api.github.com/users/sschuberth/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T10:56:43Z","updated_at":"2015-03-06T10:56:43Z","body":"True. I should have said that in addition to that, I'd like to have a function that checks if a process is still running. That way, one could execute that check in a loop and do some work (e.g. display progress) while the process is still running, without the need to create a separate thread."}}