Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

1 Answer 1

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 or ask your own question.