🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.tcl
Article #498

Dziwny problem

#498
From: T
Date: Fri, 29 Jun 2007 01:05
21 lines
1116 bytes
Mam takie coś:

03:03:56 ananke#~ cat test
#!/usr/bin/tclsh

exec top -bn 1 > /dev/null
puts "ok"

03:04:02 ananke#~ ./test
child process exited abnormally
    while executing
"exec top -bn 1 > /dev/null"
    (file "./test" line 3)

Skierowane do /dev/null dla przejrzystości, nie ma to znaczenia. Taki błąd
występuje wyłącznie przy wywołaniu top (oczywiście wywołuję go z "-b"
czyli w batch mode i z "-n 1" czyli z jednym przejściem). Co może być
przyczyną?

-- 
Fruit of Lunacy
Technical Details
Message-ID: <46845ae2$1@news.home.net.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!nf1.ipartners.pl!ipartners.pl!news.home.net.pl!not-for-mail

Show Full Headers
Complete Article Headers
From: T <t@invalid.invalid>
Subject: Dziwny problem
Newsgroups: pl.comp.lang.tcl
User-Agent: pan 0.119 (Karma Hunters)
MIME-Version: 1.0
NNTP-Posting-Host: 80.55.25.186
Message-ID: <46845ae2$1@news.home.net.pl>
Date: 29 Jun 2007 03:05:38 +0200
X-Trace: news.home.net.pl 1183079138 80.55.25.186 (29 Jun 2007 03:05:38 +0200)
Organization: home.pl news server
Lines: 21
X-Authenticated-User: neas@post.pl
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!nf1.ipartners.pl!ipartners.pl!news.home.net.pl!not-for-mail
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit