screen -d -m -S some_name ping my_router
-d -m start screen in "detached" mode. This creates a new session but doesn't  attach  to  it. -S some_name gives the screen session a label, so you can easily re-attach to it with screen -R some_namescreen session will continue to run happily.ping), its screen window will also exit, and if there are no other windows in the screen session, then the screen session itself will also exit.