From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: Re: What does code 123 mean?... (Shell command failed with code 123 and no output) Date: Fri, 6 Jun 2008 00:30:48 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2a8a888e-7600-49c3-8265-3ae04dd64f61@t12g2000prg.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1212738113 30797 80.91.229.12 (6 Jun 2008 07:41:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 07:41:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 06 09:42:35 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K4Wai-0002TA-8y for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2008 09:42:28 +0200 Original-Received: from localhost ([127.0.0.1]:52600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4WZv-00007U-JX for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2008 03:41:39 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!t12g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 24.6.97.120 Original-X-Trace: posting.google.com 1212737448 10405 127.0.0.1 (6 Jun 2008 07:30:48 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 6 Jun 2008 07:30:48 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t12g2000prg.googlegroups.com; posting-host=24.6.97.120; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 Safari/525.18, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:159154 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54501 Archived-At: Don Saklad wrote: =C2=ABWhat does code 123 mean?... in (Shell command failed with code 123 and no output)=C2=BB possibly the exit code of unix shell commands... Here's a excerpt from =E2=80=9Cperldoc -f system=E2=80=9D The return value is the exit status of the program as returned by the "wait" call. To get the actual exit value, shift right by eight (see below). See also "exec". This is *not* what you want to use to capture the output from a command, for that you should use merely backticks or "qx//", as described in "`STRING`" in perlop. Return value of -1 indicates a failure to start the program or an error of the wait(2) system call (inspect $! for the reason). So you might also see: man 2 wait man 3 exit http://en.wikipedia.org/wiki/Exit_status#Unix Xah xah@xahlee.org =E2=88=91 http://xahlee.org/ =E2=98=84