i want to launch windows 10 from virtualbox and i'm created a shortcut to my desktop and click on proprieties to get the commend line to start windows 10 from a menu, so i put the command in the command line using nohup so the terminal will close after it starts but i keep getting another terminal open with the nohup: ignoring input and appending output to 'nohup.out' err how can i get rid of this windows from showing up?

  • Can you edit your question to contain the contents of the desktop shortcut? The file is named something like ~/Desktop/foo.desktop.You probably just need to edit it to change Terminal=true to Terminal=false – Mark Plotnick Oct 9 '17 at 19:20

To get nohup to "shutup" stdin, stdout and stderr all need to be explicitly directed from/to somewhere. So you could do this:

nohup cmd </dev/null >/dev/null 2>&1

But a simpler solution is to just redirect stderr since that's where the warning is coming from:

nohup cmd 2>/dev/null

Now I don't know if this will prevent the window from popping but it's a place to start. Try the short version. If that doesn't work try the first version. If neither work then we'll at least know a little more than we do now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.