Hi there!

Bash has a builtin called "disown" that lets you detach a background process from the shell's job control (after you "disown" a process, it no longer shows up when you run "jobs", and it won't be killed if you close the shell's xterm). I typically use it to start X11 clients in the background. e.g. In bash, I typically write:

  firefox & disown

Is there something similar I can do in fish?

Also, another command I typically use in bash is:

  firefox & exit

(It's basically equivalent to "firefox & disown ; exit".)

In fish, if I do "firefox & exit", the shell doesn't actually exit.
Instead, I get the misleading message "There are stopped jobs", when firefox is actually not stopped, it's _running_ in the background. (This is in Debian's fish 1.23.0-5 package.)

Thoughts?

--
Dwayne C. Litzenberger <[EMAIL PROTECTED]>
  Key-signing key   - 19E1 1FE8 B3CF F273 ED17  4A24 928C EC13 39C2 5CF7
  Annual key (2008) - 4B2A FD82 FC7D 9E38 38D9  179F 1C11 B877 E780 4B45

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to