I have written simple PHP programs meant for the command line that run a script to completion with the hashbang at the top:#!/usr/bin/php -q<?php //etcHowever I need to write a script thatTells the user they need to create a file named config.xml if it's not there and give a prompt to Continue?   Y  NIf the file is there, then edit itEither way, the program fires off nanoOn exit from nano the program continues to executeIt is the interactive part that I have never done before, as well as sending to/exiting from another process (nano).  How do I make a script interactive and then get the result from another program?
PHP interactive script that calls nano
shell script;php;interactive