Alias to run a program in the background
I have a n00b question.
I'm running Utorrent server and I figure I would create an alias to launch the program and run it in the background. alias utorrent='/home/user1/software/utorrent-server-3.0/utserver &' It seems to run the program but the associated webui program is flaky and won't start correctly. If I manually go to the specified path and run the command ./utserver & , I never seem to have an issue with the webui. I was wondering if this could possibly have anything to do with using the '&' ampersand operator in an alias. |
Quote:
Code:
alias utorrent="cd /home/user1/software/utorrent-server-3.0/; ./utserver &" Code:
function utserver () { |
Code:
alias utorrent="cd /home/user1/software/utorrent-server-3.0/; ./utserver &" The only way I can get the webui to work properly is if I launch the program using the ./ dot operator from the local directory. If anybody can help explain why, I would much appreciate. |
nohup
I was looking for something similar, e.g. start eclipse from a specific path.
I found a nice tutorial regarding nohup at http://www.quantprinciple.com/invest...ix/jobcontrol/ . I think that's the correct way to do it. |
All times are GMT -5. The time now is 01:56 AM. |