nohup & 2 &1

C++
 nohup command >/dev/null 2>&1
Source

Also in C++: