[plt-scheme] Web server pid

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Dec 18 23:30:13 EST 2006

On Dec 18, Jay McCarthy wrote:
> The web-server doesn't do anything like. What you could do is write a
> shell script that call web-server-text with exec, the exec would cause
> bash (or sh) to exec and the new mzscheme process would have the same
> PID, so you could inspect $$.

(require (lib "os.ss"))
(getpid)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.