We are trying to excute a nohup script from the golang and here is the command we excute
cmd := exec.Command("nohup","sh",destinationDirPath + "/pf_file_monitor.sh","&>",destinationDirPath + "/nohup.out","&")
_,err = cmd.Output();
The problem is after excuting this command the control is not returing back to the program.
Can anyone please assist me in this ?