Results 1 to 4 of 4

Thread: run a program in the background

  1. #1

    Default run a program in the background

    What command would I use if I want to run a program in the background so it is not on the toolbar or in the system tray? Is that even possible? Also how would I then bring it to the foreground?

  2. #2

    Default Re: run a program in the background

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Assuming this is the command line just append an ampersand '&' to the end
    of the command. For example:

    sleep 60 &

    You should get your shell back for use, and in one minute you will get a
    prompt (as soon as you press [Enter] or something) showing the process has
    exited.

    You can also use 'fg' to bring a backgrounded job to the foreground
    assuming you are in the shell from which it was backgrounded. For GUI
    applications this is trickier at best, and really not possible unless you
    are using disconnected VNC sessions all of the time, or VNC-ing to your
    main desktop which is really only practical when you are not at your main
    desktop physically.

    Good luck.





    hito kiri wrote:
    > What command would I use if I want to run a program in the background so
    > it is not on the toolbar or in the system tray? Is that even possible?
    > Also how would I then bring it to the foreground?
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iQIcBAEBAgAGBQJKXnp2AAoJEF+XTK08PnB5Bn0P/jruXECWuPy1FAffYERDolUM
    RpVgZ7a/t76Vo1iXH8XsqpMACDVqnG4MEP3uM31ITmeh4hSZK3nnUguZqWYMDuEE
    askvwJN3YJEUbkZh5zuVfF9A8wmAM+hLi4uiFY1T5kVJCY8GD8YsKdYStXyJWEs5
    6kGP4UK2lUfL58EEGnIvyU+Ws/iKgJRTzgAuwP9ydeIBqTeZJz+9YRNSKcl2b0SE
    4Ga0IKaQ/JQiAUl3evf+Atk7YUe8CDthsrdgg+DOLh7Czc9NWt/nSA9xnoXWd0ah
    0ir9fqWWyoCXzb1T+4v/eA4WFJAH5cLnaF7XNqkFeMAvjdI9ZAjewqddsmlzoRcF
    GMu4Q2gxaEFbzPmwxH9rMm0N59JQqQQ3a+YUCRWMwW/aHH+xVYlS5ECo4cvG9hzQ
    ZbLbiszIAtHfeNptKSGbCU6lQHILzYUyFRRuw8oeNPURVWtMsz1/6r3s9H4fn3XQ
    3ZOyWXb3dbvQ6boc3NnNRiWIZkSGbAOIXSJjNFY9L4wz299kdEEf+L1FcH8mG79z
    FuosY8AeKzaOiBRuNSK3BxDdUTJ4H8ThhppCZ/RUNHwXjVs98jc7iH0zGN2xpLYa
    zbbT3HMVV5/pgf1/1lmysFbN1+YAosA0oTVg825jC9K/ZXrXyc9fU4I19rPB33Su
    EhMiOzwGPrx40BqeyRXy
    =pOAh
    -----END PGP SIGNATURE-----

  3. #3

    Default Re: run a program in the background

    Ahh, thanks. I wanted to run amule, or any download program I am using, in the background so it is not constantly on the task bar/system tray. I don't know if you can run amule without the gui, so I am probably out of luck.

  4. #4

    Default Re: run a program in the background

    Actually, after looking on their website, it seems it does.

    It is a daemon that can be used:
    aMule Daemon allows you to run a bare aMule client with no graphical interface and very low CPU and memory usage. Ideal for servers, people who usually control aMule remotely and those who just usually don't keep taking a look at how far downloads are going.
    Faq about it here (a script for controlling it is available): FAQ amuled - AMule Project FAQ

    Not sure what is your experience but it is a start. Maybe their forum users can help you if you more.

    Cheers and good luck.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •