Summary
###########################################################################
File: popen.icn
Subject: Procedures for pipes
Author: Ronald Florence
Date: September 28, 1992
###########################################################################
This file is in the public domain.
###########################################################################
Version: 1.0
###########################################################################
Contents:
popen(command, mode)
mode == "w" writes to a pipe
mode == "r" reads from a pipe
pclose(pipe)
On systems without real pipes (ms-dos), popen and pclose imitate
pipes; pclose must be called after popen. The code should run
faster on ms-dos if dir in tempfile() points to a directory on a
virtual disk.
On systems with real pipes, popen & pclose open and close a pipe.
###########################################################################
Procedures:
pclose, popen, tempfile
Global variables:
PIPE_cmd, PIPE_fname
This file is part of the (main) package.
Source code.
pclose(pipe)
popen(cmd, mode)
tempfile(template)
PIPE_cmd
PIPE_fname
This page produced by UniDoc on 2021/04/15 @ 23:59:54.