mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
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:
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user