🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux
Article #895997

Re: Reguły dla udev bierzecie z udevadm?

#895997
From: Pszemol
Date: Thu, 26 May 2016 21:00
17 lines
2263 bytes
Olek <olotestSPAMFE@poczta.onet.pl> wrote:
> W dniu 26.05.2016 o 02:31, Pszemol pisze:
>> 
>> Jakim prawem więc pisał że program returned exit code 2 skoro w ogóle go
>> nie znalazł?
> 
> A czy mamy pewność, że status nie pochodził od procesu, któremu nie 
> udało się odnaleźć programu do uruchomienia?

Wygląda na to, że właśnie tak było - teraz już wiem, ze ten "exited return
code 2" to moze byc albo wartosc zwrocona z programu (return z main()),
albo kod bledu gdy proba uruchomienia programu skonczy sie niepowodzeniem
(ostatnio poznalem kody: 13, blad otwarcia pliku/portu zwiazany z
uprawnieniami i taki sam jak przy exeku kod error 2 gdy driver portu
szeregowego nie utworzyl portu lub utworzyl inna nazwe i /dev/ttyUSB0 po
prostu byl nieznaleziony) - zlewa sie to niestety w jedno i
niedoswiadczonemu utrudnia ustalenie przyczyny niepowodzenia.
Technical Details
Message-ID: <ni7ntu$hl5$2@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
References: <nhf1or$3dn$1@dont-email.me> <nhfbtt$8r7$1@dont-email.me> <nhfhjr$usf$1@dont-email.me> <nhmt45$tt6$1@dont-email.me> <nhn205$lvr$1@dont-email.me> <nhokpi$39q$1@dont-email.me> <nhq518$s58$1@dont-email.me> <nhvcuk$gu9$1@dont-email.me> <nhvod8$vqq$1@dont-email.me> <nhvpb3$3qb$1@dont-email.me> <5745c767$0$22823$65785112@news.neostrada.pl> <ni5fuh$4ej$1@dont-email.me> <57475308$0$695$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From: Pszemol <Pszemol@PolBox.com>
Newsgroups: pl.comp.os.linux
Subject: Re: Reguły dla udev bierzecie z udevadm?
Date: Thu, 26 May 2016 16:00:09 -0500
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <ni7ntu$hl5$2@dont-email.me>
References: <nhf1or$3dn$1@dont-email.me> <nhfbtt$8r7$1@dont-email.me> <nhfhjr$usf$1@dont-email.me> <nhmt45$tt6$1@dont-email.me> <nhn205$lvr$1@dont-email.me> <nhokpi$39q$1@dont-email.me> <nhq518$s58$1@dont-email.me> <nhvcuk$gu9$1@dont-email.me> <nhvod8$vqq$1@dont-email.me> <nhvpb3$3qb$1@dont-email.me> <5745c767$0$22823$65785112@news.neostrada.pl> <ni5fuh$4ej$1@dont-email.me> <57475308$0$695$65785112@news.neostrada.pl>
Mime-Version: 1.0
Injection-Info: mx02.eternal-september.org; posting-host="f389518e2485e87d7837239fdca64892"; logging-data="18085"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fO5/CegfrDYnEC3Wne1y1"
User-Agent: NewsTap/5.1.8 (iPhone/iPod Touch)
Cancel-Lock: sha1:r2lZmqLPjP6S30moTCRYSsw3MRs= sha1:eKft1T2X86XAkBJhYnexJHgPGdI=
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit