Assign the output of exec to a var to avoid any issues
Use full path to nohup
mwexec_bg() already uses nohup