popen.3 (32eef9aeb1f39a1623cea55da147c89abbd5b9a5) popen.3 (c0595bfc20bc580b80ce3f084f638808ca4dc044)
1.\" Copyright (c) 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 170 unchanged lines hidden (view full) ---

179.Pp
180Failure to execute the shell
181is indistinguishable from the shell's failure to execute command,
182or an immediate exit of the command.
183The only hint is an exit status of 127.
184.Pp
185The
186.Fn popen
1.\" Copyright (c) 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 170 unchanged lines hidden (view full) ---

179.Pp
180Failure to execute the shell
181is indistinguishable from the shell's failure to execute command,
182or an immediate exit of the command.
183The only hint is an exit status of 127.
184.Pp
185The
186.Fn popen
187argument
187function
188always calls
189.Xr sh 1 ,
190never calls
191.Xr csh 1 .
192.Sh HISTORY
193A
194.Fn popen
195and a
196.Fn pclose
197function appeared in
198.At v7 .
199.Pp
200Bidirectional functionality was added in
201.Fx 2.2.6 .
188always calls
189.Xr sh 1 ,
190never calls
191.Xr csh 1 .
192.Sh HISTORY
193A
194.Fn popen
195and a
196.Fn pclose
197function appeared in
198.At v7 .
199.Pp
200Bidirectional functionality was added in
201.Fx 2.2.6 .