Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I detach a process from Terminal, entirely?

I'm using CentOs with KDE. I want to run, for example, kedit via console. But when I close the console, kedit closes too – I think because it is its child process.

How can I run it independently?

share|improve this question

marked as duplicate by slhck, Nifle, DMA57361 Aug 4 '11 at 10:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

nohup kedit &

nohup - stops the process responding to the HUP signal, which is what is closing it.

& - run the process 'in the background', essentially returning your command prompt to you after you run it, rather than when it ends.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .