How to keep program running in background in ash shell
问题 I need to SSH to an embedded device, launch a background program, then disconnect and keep the background process running. The problem is that the embedded device is using the ash shell (NOT bash or anything else), so nohup and screen are NOT available. I have not been able to find any way of disconnecting the process in ash. Is there any way of doing this in ash? 回答1: An alternative to: nohup command & Using clever parentheses: (( command & ) & ) And also if you want to drop stdin/stdout: ((