Spawning an independent thread or process in Ruby
问题 I may be approaching this in the wrong direction, so any help would be appreciated. I have a Ruby script which, amongst other things, starts up an executable. I want to start this executable - currently being triggered using system "" - and then continue on with the script. When the script finishes, I want it to exit but leave the executable running. Originally I had the following # Do some work # Start the executable system("executable_to_run.exe") # Continue working But executable_to_run