[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash 4.3.11(1) crashes after running exec
From: |
#pragma |
Subject: |
Re: Bash 4.3.11(1) crashes after running exec |
Date: |
Mon, 27 Jun 2016 20:25:06 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
> Again, what do you expect to happen? You replace the bash process -- it
> goes away. As soon as the man process terminates, your session ends. This
> is what `exec' does.
>
Thank you. You are right, it was just confusing to see on the screen of
Konsole terminal that "bash program was crashed". So bash not doing
fork() before exec? It looks like a father process crashes. Crash is
always undesired and unexpected behaviour, that's why I wrote. But may
be it is some problem with exec family functions.
Regards, Michael