[racket] Can raco exe assign a name other than "racket"?
On Mar 26, 2011, at 9:14 AM, Greg Hendershott wrote:
> I'm not sure if this is a Linux or Racket question or both.
>
> $ raco exe -o foo foo.rkt
> $ ./foo &
> $ ps #shows it as "racket" not as "foo".
> $ top #shows it as "racket" not as "foo".
>
> Is there way I can make it show up as "foo"?
>
> So e.g if I have 2 Racket programs running at once, I can see "foo"
> and "foo2" in ps or top and tell them apart, vs. two "racket"s?
This is what I see under OS X. In one shell, I compile and run parser.rkt
Eris:Dysnomia gregwoodhouse$ raco exe -o parser parser.rkt
Eris:Dysnomia gregwoodhouse$ ./parser
then, in another shell I get
Eris:~ gregwoodhouse$ ps
PID TTY TIME CMD
995 ttys000 0:00.15 -bash
1080 ttys000 0:00.90 ./parser
1047 ttys001 0:00.02 -bash
Eris:~ gregwoodhouse$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4372 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20110326/f6556841/attachment.p7s>