Find the answer to your Linux question:
Results 1 to 3 of 3
Hello! When I try to run a particular script in the ssh (Putty), I run the commend line: Code: ./xxx & The problem: When I close the putty, the script ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    18

    Run Script (./xxx &)

    Hello!

    When I try to run a particular script in the ssh (Putty), I run the commend line:
    Code:
    ./xxx &
    The problem:
    When I close the putty, the script stops working...
    ----------------
    When I run the same command on another server, everything works properly (I can close the ssh without the script will stop working)

    How can I solve this?

    Thanks!

  2. #2
    Linux Newbie
    Join Date
    Mar 2009
    Posts
    228
    Try:

    Code:
    nohup ./xxx &

  3. #3
    Just Joined!
    Join Date
    Nov 2009
    Posts
    18
    Quote Originally Posted by lomcevak View Post
    Try:

    Code:
    nohup ./xxx &
    Thank you very much!!!
    Now everything works!

Posting Permissions

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