From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 6B048BB84 for ; Thu, 9 Oct 2008 17:27:59 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhIHAK6/7UjOe3NG/2dsb2JhbACOTrBggWo X-IronPort-AV: E=Sophos;i="4.33,383,1220220000"; d="scan'208";a="15845793" Received: from spoomusic.com ([206.123.115.70]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 09 Oct 2008 17:27:58 +0200 Received: (qmail 8577 invoked by uid 89); 9 Oct 2008 15:27:57 -0000 Received: from unknown (HELO ?192.168.1.99?) (98.165.129.233) by 0 with ESMTPS (DHE-RSA-AES256-SHA encrypted); 9 Oct 2008 15:27:57 -0000 Message-ID: <48EE22B0.3090404@ramenlabs.com> Date: Thu, 09 Oct 2008 08:26:40 -0700 From: Dave Benjamin User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: caml-list@yquem.inria.fr Subject: Writing to argv[0] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; argv:01 ocaml:01 argv:01 benjamin:01 sys:03 table:93 dave:09 dave:09 writing:12 thanks:17 there:18 process:24 com:74 way:25 its:27 Hi, Is there any way for an OCaml program to change its name in the process table? Assigning to Sys.argv.(0) has no effect. Thanks, Dave