nohup blocking the tox execution
Change-Id: Icc5b94c34c737d6c32f5ecb7aece0e7c49ead8c5
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 1e3f53e..9967beb 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -606,8 +606,10 @@
${sub_cmd_buf}= Create OS Console Command String
# Routing stderr to stdout so that any startup error text will go to the
# output file.
+ # TODO: Doesn't work with tox so reverting temporarily.
# nohup detaches the process completely from our pty.
- ${cmd_buf}= Catenate nohup ${sub_cmd_buf} &> ${log_file_path} &
+ #${cmd_buf}= Catenate nohup ${sub_cmd_buf} &> ${log_file_path} &
+ ${cmd_buf}= Catenate ${sub_cmd_buf} > ${log_file_path} 2>&1 &
Rdpissuing ${cmd_buf}
${rc} ${output}= Run And Return Rc And Output ${cmd_buf}
# Because we are forking this command, we essentially will never get a