pg problem under ksh

Johann Schweigl johnny at edvvie.at
Fri Oct 20 07:59:23 AEST 1989


>From article <1156 at msa3b.UUCP>, by kevin at msa3b.UUCP (Kevin P. Kleinfelter):
> ksh and get a prompt. Then I type
> 	pg foo
> and I get
> 	pg: cannot reopen stdout
> 

Hi Kevin! I've experienced the same problem. Its not related to pg in any
way. I suspect ksh closes the wrong files under certain circumstances
before forking and execing a child proc for piping.
Maybe ksh is playing around with the CLOSE_ON_EXEC flag in a way AIX doesn't
like. I'll check out that.
Under AIX PS/2 ksh is running fine, just compile with all the BSD defines.
-- 
This does not reflect the   | Johann  Schweigl | DOS?
opinions of my employer.    | johnny at edvvie.at | Kind of complicated
I am busy enough by talking |                  | bootstrap loader ...
about my own ...            |   EDVG  Vienna   | 



More information about the Comp.unix.aix mailing list