doctrine/migrations — pull request #102 by arnaud-lb (2012-11-26 14:07:32+00:00)
Title: Allow editor-cmd to work with terminal-based editors

This allows `--editor-cmd=vim` to work correctly in generate commands.

shell_exec captures the output, as a result a terminal-based editor cannot display anything on the terminal.

proc_open, when called with an empty $descriptorspec argument *passes* the calling process's std file descriptor to the executed command, as a result the editor can display itself in the terminal.