I found this question: How can I run a command which will survive terminal close?, which addresses exactly what I want to do. And I've been using it for a few applications.
But my problem is that I want to use terminal to run a program (OBS) with sudo (root?), because I want it to write to a mounted disk to record. So it requires write permissions that it doesn't natively have (maybe that's the issue?). And, I want to run it from a terminal, and have the terminal shut down as soon as I start the program.
I'm familiar with Linux, but I'm still super derpy at it. I know I have the drive mounted upon boot via fstab. But I if I don't run OBS with elevated rights, it gives me errors for recording.
Can I do this from the terminal and have the terminal shut down afterwards, but keep OBS open, or is this more involved?
(Using Manjaro.)
/home/asinine/mount
, for example), (b) using therw
,user
anduid
/gid
options in the fstab mount command (possibly alsoumask=000
if this is an ntfs drive). – domsson Dec 08 '19 at 05:21Also, it's not very clear if you want to have the window closed as soon as the program is run in the background, or as soon as it terminates.
– Jasio Dec 08 '19 at 10:04