What happens when I launch something like "gedit" which returns the prompt immediately?
<p>In CentOS7.2, when I launch gedit (/usr/bin/gedit the version is 3.14.3)</p>

<pre><code>$ gedit hoge.txt
</code></pre>

<p>then the prompt returns immediately.</p>

<p>I am pretty new for UNIX world but where does the process go?</p>

<p>When I already have opened gedit, it looks gedit try opening a new tab in the existing window. That is why I cannot see the process by</p>

<pre><code>$ ps (without x)
</code></pre>

<p>if the existing gedit is invoked in another shell.</p>

<p>I kind answered myself, but I want to ask how can it be done?</p>

<p>gedit deals with many technical process under the OS?</p>

<p>I realized </p>

<pre><code>firefox
</code></pre>

<p>also looks similar.</p>