From ruby-talk-admin@ruby-lang.org Fri Dec 16 03:05:51 2005 Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (8.12.3/8.12.3/Debian-6.6) with ESMTP id jBFI5pZk030574; Fri, 16 Dec 2005 03:05:51 +0900 Received: from funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id A06B759D2; Fri, 16 Dec 2005 03:05:56 +0900 (JST) Received: from localhost (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id BD0EAF0484A; Fri, 16 Dec 2005 03:05:56 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 8495FF04847; Fri, 16 Dec 2005 03:05:55 +0900 (JST) Received: from beryllium.ruby-lang.org (beryllium.ruby-lang.org [210.163.138.100]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 998FC630025; Fri, 16 Dec 2005 03:05:55 +0900 (JST) Received: from beryllium.ruby-lang.org (beryllium.ruby-lang.org [127.0.0.1]) by beryllium.ruby-lang.org (Postfix) with ESMTP id 5EE22339D8; Fri, 16 Dec 2005 03:05:54 +0900 (JST) Received: from localhost (beryllium.ruby-lang.org [127.0.0.1]) by beryllium.ruby-lang.org (Postfix) with ESMTP id 5C2BD33D1F for ; Fri, 16 Dec 2005 03:05:46 +0900 (JST) Received: from beryllium.ruby-lang.org ([127.0.0.1]) by localhost (beryllium.ruby-lang.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19297-02 for ; Fri, 16 Dec 2005 03:05:46 +0900 (JST) Received: from pop-cowbird.atl.sa.earthlink.net (pop-cowbird.atl.sa.earthlink.net [207.69.195.68]) by beryllium.ruby-lang.org (Postfix) with ESMTP id 02E97339D8 for ; Fri, 16 Dec 2005 03:05:46 +0900 (JST) Received: from dialup-4.238.19.83.dial1.orlando1.level3.net ([4.238.19.83] helo=mydesk.domain.cxm) by pop-cowbird.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1EmxU4-0002Uq-00 for ruby-talk@ruby-lang.org; Thu, 15 Dec 2005 13:05:41 -0500 Delivered-To: ruby-talk@ruby-lang.org Date: Fri, 16 Dec 2005 03:05:46 +0900 Posted: Thu, 15 Dec 2005 13:06:40 -0500 From: Steve Litt Reply-To: ruby-talk@ruby-lang.org Subject: system() failed with $?==32512 To: ruby-talk@ruby-lang.org (ruby-talk ML) Message-Id: <200512151306.40273.slitt@earthlink.net> X-ML-Name: ruby-talk X-Mail-Count: 91 X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (only members can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address ruby-talk-ctl@ruby-lang.org; help= User-Agent: KMail/1.6.1 X-Original-To: ruby-talk@ruby-lang.org Organization: Troubleshooters.com Content-Disposition: inline X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ruby-lang.org X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on beryllium.ruby-lang.org X-Spam-Level: X-Spam-Status: No, score=-14.2 required=7.0 tests=AWL,BAYES_00,BLARS00, BLARS_SPAM00,CONTENT_TYPE_PRESENT,QENCPTR1,RCVDFRMLOCALIP, RCVD_IN_BLARS,RCVD_IN_BLARS_HOOPS,RCVD_IN_BLARS_SPAM autolearn=ham version=3.0.3 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Precedence: bulk Lines: 19 List-Id: ruby-talk.ruby-lang.org List-Software: fml [fml 4.0.3 release (20011202/4.0.3)] List-Post: List-Owner: List-Help: List-Unsubscribe: X-Virus-Scanned: by AMaViS snapshot-20020531 Hi all, I have a program too large to post a code snippet, and my system() call does not work. It returns false, and the $? variable is set to 32512. Looking through various errno.h files, I couldn't find a corresponding number. Ugh! I have a little hello world program that runs system() just fine. Anyone know how to interprest the 32512? Anyone know how to find an error message in English? Any other ideas to narrow the root cause scope of this problem? Thanks SteveT Steve Litt http://www.troubleshooters.com slitt@troubleshooters.com