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?

link|improve this question
feedback

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

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

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.

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.