Article View: es.comp.os.linux.programacion
Article #10363Re: un warning del shell
From: Jayr Al-Dyn
Date: Sat, 02 Mar 2002 10:21
Date: Sat, 02 Mar 2002 10:21
34 lines
1818 bytes
1818 bytes
Hombre, pues ayudar�a bastante saber qu� hace el "shell" famoso, pero en cualquier caso aparentemente podr�a solucionarse forzando a que el shell se ejecute en un directorio, como por ejemplo: #!/bin/sh ... (no se) ... (no s�) cd /tmp ... (sigo sin saber) Angel Lis wrote: > > En un programa en shell, al ejecutarlo en background desde el init 3, me da > el siguiente warning: > > shell-init: could not get current directory: getcwd: cannot access parent > directories: No such file or directory > > Alguno tiene idea de como eliminarlo??, el shell lo llamo desde otro shell > de la siguiente manera > /bin/sh shell.sh >/tmp/log.tmp 2>&1 & > > Ah, y el getcwd no lo llamo desde ningun sitio, aunq supongo q el sh lo > har� automaticamente :P. > > Tnx. > -- Jayr Al-Dyn Usuario Linux #95614 en counter.li.org http://www.jayraldyn.net --
Technical Details
Message-ID:
<3C80A7C5.57F3357E@jayraldyn.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!newsfeed.mad.ttd.net!nsnmrro1-lo.nuria.telefonica-data.net!news.bcn.ttd.net!not-for-mailReferences:
<S94f8.674$Q5.13115@telenews.teleline.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,54bd82a9e911d8cb X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-03-02 02:38:43 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!newsfeed.mad.ttd.net!nsnmrro1-lo.nuria.telefonica-data.net!news.bcn.ttd.net!not-for-mail From: Jayr Al-Dyn <jayraldyn@jayraldyn.net> Newsgroups: es.comp.os.linux.programacion Subject: Re: un warning del shell Date: Sat, 02 Mar 2002 11:21:57 +0100 Organization: Telefonica Transmision de Datos Lines: 34 Message-ID: <3C80A7C5.57F3357E@jayraldyn.net> References: <S94f8.674$Q5.13115@telenews.teleline.es> NNTP-Posting-Host: 213-98-164-133.uc.nombres.ttd.es Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.17 i686) X-Accept-Language: es-ES, es, en