run a script in new process session

From: dimensio2000 (jmporres_at_dimensio.net)
Date: 09/30/04


Date: 30 Sep 2004 03:55:56 -0700

From: jmporres@dimensio.net (dimensio2000)
Newsgroups: es.comp.os.linux.programacion
Subject: ejecutar un script en una nueva sesion de procesos
NNTP-Posting-Host: 80.58.53.42
Message-ID: <ab9be887.0409300248.4633414e@posting.google.com>

Hi,
i'm trying to run a script in a new process session

With linux I always do
$setsid script &

The problem occurs when I must to do it on AIX, and I supose that with
other BSD system occurs the same, there isn't the setsid command

How can I do it?
I want that the script continue running when the shell that calls the
script ends.

Thanks
Kind regards

Josep Porres