Article View: news.software.readers
Article #70755Re: slrn - shell command in custom_headers
From: Renaud Colinet
Date: Thu, 18 Jan 2001 19:21
Date: Thu, 18 Jan 2001 19:21
12 lines
1264 bytes
1264 bytes
On Jan 18 2001 18:18:44 GMT, John E. Davis wrote:
>
>You can use popen:
>
> variable output;
> () = fgets (&output, popen ("some-shell-command", "r"));
>
Thanks JED, I knew you'd be there when it comes to s-lang :-)
--
Renaud
Technical Details
Message-ID:
<RmH96.493$yH5.907385@nnrp6.proxad.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!proxad.net!feeder2.proxad.net!nnrp6.proxad.net.POSTED!not-for-mailReferences:
<slrn96e7m7.sk.neuromancer@HAL-9000.net> <JbG96.309$m%.552009@nnrp2.proxad.net> <slrn96ecs2.8b.davis@aluche.mit.edu>Show Full Headers
Complete Article Headers
Message-ID: <RmH96.493$yH5.907385@nnrp6.proxad.net> Subject: Re: slrn - shell command in custom_headers Date: Thu, 18 Jan 2001 19:21:21 GMT From: rcolinet@free.invalid (Renaud Colinet) References: <slrn96e7m7.sk.neuromancer@HAL-9000.net> <JbG96.309$m%.552009@nnrp2.proxad.net> <slrn96ecs2.8b.davis@aluche.mit.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!proxad.net!feeder2.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail Newsgroups: news.software.readers Reply-To: rcolinet@free.fr User-Agent: slrn/0.9.6.3 (Win32) Lines: 11 NNTP-Posting-Host: 57.67.13.235 X-Complaints-To: abuse@proxad.net X-Trace: nnrp6.proxad.net 979845681 57.67.13.235 (Thu, 18 Jan 2001 20:21:21 CET) NNTP-Posting-Date: Thu, 18 Jan 2001 20:21:21 CET Organization: Guest of ProXad - France