HP3000-L Archives

October 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"BIXBY,MARK (HP-Cupertino,ex1)" <[log in to unmask]>
Reply To:
BIXBY,MARK (HP-Cupertino,ex1)
Date:
Tue, 5 Oct 1999 13:58:18 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
From the shell command line, try typing:

echo foo | ./program

Methinks you are experiencing the "can't reopen $STDIN/$STDINX that's been
redirected to a pipe" problem.

- Mark

> -----Original Message-----
> From: Ted Ashton [mailto:[log in to unmask]]
> Sent: Tuesday, October 05, 1999 12:34 PM
> To: [log in to unmask]
> Subject: opening $STDINX
>
>
> Why is it that a program can open $STDIN or $STDINX fine when
> called from the
> CI or from the shell, but when I try to call the same program
> from Perl (using
>
> open(OUT,"| ./program")
>
> ), I get
>
> The procedure detected the end of the file, or no error
> detected.  (FSERR 0)
> File System message 600
>
> ?  BTW, that's an HPFOpen status of -39321457.
>
> Ted
> --
> Ted Ashton ([log in to unmask]), Info Serv, Southern
> Adventist University
>           ==========================================================
> [On the Gaussian curve, remarked to Poincare:]
> Experimentalists think that it is a mathematical theorem while the
> mathematicians believe it to be an experimental fact.
>                         -- Lippman, Gabriel (1845-1921)
>

ATOM RSS1 RSS2