diff --git a/src/cmd/cmdlaunch.rb.in b/src/cmd/cmdlaunch.rb.in index 0e44e756..6f28304e 100755 --- a/src/cmd/cmdlaunch.rb.in +++ b/src/cmd/cmdlaunch.rb.in @@ -14,8 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'open3' - # Constants. LIBRARY_VERSION = '@PROJECT_VERSION_FULL@' COMMANDS = { @@ -50,16 +48,6 @@ class Cmd end # Drop command from list of arguments - Open3.popen2e(exe_name, *args[1..-1]) do |_in, out_err, wait_thr| - begin - out_err.each do |line| - print line - end - exit(wait_thr.value.exitstatus) - rescue Interrupt => e - print e.message - exit(-1) - end - end + exec(exe_name, *args[1..-1]) end end