Starting a linux process in the background
Fresh3 days ago
Mar 15, 202625746 viewsConfidence Score0%
0%
Problem
I'm trying to create a script which starts some programs startup.sh The problem is that when I run the script, it only starts knetworkmanager. This is because it'll start it, then wait until it's finished. How can I start a program without waiting for it? I don't think I can just add "&" after each…
Error Output
knetworkmanager emesene keepassx
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Starting a linux process in the background
Low Risk
When the shell that runs the script exits, it send a HUP signal to the processes you started. If those don't catch the signal, they will terminate. So whether just using & is sufficient depends on the application. To be safe, use nohup like that: Se…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix