What is the difference between the following fork statements ?
command &
exec command &
You can use wait $!
for both statements.
In my test I have found no difference in the behavior - but maybe I'm missing something.
What is the difference between the following fork statements ?
command &
exec command &
You can use wait $!
for both statements.
In my test I have found no difference in the behavior - but maybe I'm missing something.