From: jellybean stonerfish on
On Mon, 16 Nov 2009 00:14:31 +0000, Mike Jones wrote:

> I need to spawn a bash shell, from a bash shell, that doesn't die when
> the original is killed.
>
> From an rxvt, call...
>
> $> rxvt -e somescript.sh
>
> ...then kill the parent but leave the child running "somescript.sh"
> independantly.
>
> Clues?

Does your target machine have 'screen'?
From: Mike Jones on
Responding to jellybean stonerfish:

> On Mon, 16 Nov 2009 00:14:31 +0000, Mike Jones wrote:
>
>> I need to spawn a bash shell, from a bash shell, that doesn't die when
>> the original is killed.
>>
>> From an rxvt, call...
>>
>> $> rxvt -e somescript.sh
>>
>> ...then kill the parent but leave the child running "somescript.sh"
>> independantly.
>>
>> Clues?
>
> Does your target machine have 'screen'?


Already covered now.

The trick I needed was to sleep the parent script 2 before exiting.

Rough hack, yes, but it saved things tripping over each other, which
seemed to be the problem on this particular carpy MOBO. ;\

Cheers.

--
*=( http://www.thedailymash.co.uk/
*=( For all your UK news needs.
First  |  Prev  | 
Pages: 1 2
Prev: Audio Editors?
Next: Puppy Linux 4.3.1