Hi,
Alex has worked on a version that keeps track of the original argv[0]
length:
-
(define (set-proc-title str)
(print "setting proc title to " str)
(receive (c v) (argc+argv)
((foreign-lambda* void ((c-string str) (c-pointer argv))
"static int ori
Hi,
Alex Charlton & I worked through how to set the process name as
displayed by ps(1).
This might be a useful addition to the posix-extras egg.
-
(define (set-proc-title str)
(receive (c v) (argc+argv)
((foreign-lambda* void ((c-string str) (c-pointer argv))