Fixed win32 version of captured_command erroring on exit status, fixed auto import overwriting application details when the stored version is newer then the registry, added unused registry writer for updating application version- requires UAC, fixed ServerBrowser#find_element_by_tag erroring sometimes, added application manager to sleeper party.

This commit is contained in:
2022-10-30 21:47:06 -05:00
parent deaa6ee9d9
commit 388c3a2606
4 changed files with 44 additions and 5 deletions

View File

@@ -57,8 +57,9 @@ class W3DHub
)
pid = process_info.process_id
status = -1
until Process.get_exitcode(pid)
until (status = Process.get_exitcode(pid))
readable, _writable, _errorable = IO.select([stdout_read], [], [], 1)
readable&.each do |io|
@@ -71,7 +72,7 @@ class W3DHub
stdout_read.close
stdout_write.close
Process.get_exitcode(pid).zero?
status.zero?
else
IO.popen(command) do |io|
io.each_line do |line|