FG

How to run a process and completely detach it of its parent shell

Fresh3 days ago
Mar 15, 20268142 views
Confidence Score0%
0%

Problem

Possible Duplicate: Leave bash script running on remote terminal while not logged in? How do I detach a process from Terminal, entirely? I'm running a program on a linux server that will take days to complete. I'm launching it from my workstation from an SSH terminal, as this program is command-lin…

Error Output

$ ./MyProg.csh -params -foo -bar </dev/null 1>~/out.log 2>~/err.log &

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to run a process and completely detach it of its parent shell

Low Risk

you can either user or if you choose : launch before you run your service: and then, run your service inside of the : ( or anything you want here ). and then Ctrl+a d when you came back, just: for more information: http://www.gnu.org/s/screen/ about…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment