setsid before executing anything and on command quit kill the process group