๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #10412

Re: un warning del shell

#10412
From: Javicho
Date: Tue, 05 Mar 2002 12:42
21 lines
1583 bytes
Un S๏ฟฝb 02 Mar 2002 11:21 Alguien que no era PAQUITO INES pero era J

>> 
>> 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.
>> 
> 

Tienes al principio de tu script una linea PATH= directorio que necesitas??
Technical Details
Message-ID: <3c84bc0b@news.upm.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!newsfeeds.belnet.be!news.belnet.be!jussieu.fr!news.rediris.es!news-2.rediris.es!138.100.251.9.MISMATCH!news.upm.es!138.4.40.3
References: <S94f8.674$Q5.13115@telenews.teleline.es> <3C80A7C5.57F3357E@jayraldyn.net>

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-05 04:35:03 PST
From: Javicho <javicho@enfrente.de.ordenador>
Subject: Re: un warning del shell
Newsgroups: es.comp.os.linux.programacion
Date: Tue, 05 Mar 2002 13:42:50 +0100
References: <S94f8.674$Q5.13115@telenews.teleline.es> <3C80A7C5.57F3357E@jayraldyn.net>
Lines: 24
Organization: GRPSS-UPM
User-Agent: KNode/0.6.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit
NNTP-Posting-Host: 138.4.40.3
Message-ID: <3c84bc0b@news.upm.es>
X-Trace: 5 Mar 2002 13:37:31 +0100, 138.4.40.3
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!newsfeeds.belnet.be!news.belnet.be!jussieu.fr!news.rediris.es!news-2.rediris.es!138.100.251.9.MISMATCH!news.upm.es!138.4.40.3