# `proc_open()` on Windows

> Section in “New and Extended Functionality › I/O and Filesystem” of the book [PHP 7 Explained](https://php7explained.com/) by Sebastian Bergmann and Stefan Priebsch, published by thePHP.cc. The book covers PHP 7.0 to 7.4 and was last updated in November 2020. HTML version: <https://php7explained.com/new-and-extended-functionality/io-and-filesystem/proc_open-on-windows/>

Sometimes you need to communicate with other processes from within a PHP program. The `proc_open()` function executes a command by starting a separate process and opens pipes for input (`STDIN`, for instance) and output (`STDOUT`, for instance) to and from the process started by the command. A pipe is a communication channel that can be used for communication between processes.

In earlier PHP versions, the maximum number of pipes on Windows was hardcoded to 16. You can now use an arbitrary amount of pipes, limited by the available memory. When building software for Windows, we have encountered some issues with regards to using pipes in PHP. Refer to the [PHP manual](http://php.net/manual/en/function.proc-open.php) for more information.

---

Previous: [Debugging PDO Prepared Statement Emulation](https://php7explained.com/new-and-extended-functionality/io-and-filesystem/debugging-pdo-prepared-statement-emulation/index.html.md) | Next: [proc_nice() on Windows](https://php7explained.com/new-and-extended-functionality/io-and-filesystem/proc_nice-on-windows/index.html.md)
