On 11 Apr, Pierre Fortin wrote:
+-----
| Just an idea... hmm... can Python do "import <stdin>"...? Perl?
+--->8
Dunno about Python. Perl can't do it directly, but you could do
my $proc = IO::File->new('/sbin/proc --perl whatever |');
eval while defined ($_ = $proc->getline);
-- brandon s. allbery os/2,linux,solaris,perl allbery@kf8nh.apk.net system administrator kthkrb,heimdal,gnome,rt allbery@ece.cmu.edu carnegie mellon / electrical and computer engineering kf8nh We are Linux. Resistance is an indication that you missed the point.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:16 EST