|
#1
|
|||
|
|||
OK, here it is..
I have a php script that generates a choice menu for the user to choose from, I want to run this script from within visual build and want user (ME) to provide an input so the script can take appropriate action. Is it possible? BTW: this PHP script needs to be run in CMD. |
#2
|
|||
|
|||
If you are calling php.exe to run your script, and the script is sending a prompt to stdout and waiting for a response on stdin, there isn't a way to accept user input in the console and send it to the process from Visual Build.
|
#3
|
|||
|
|||
Is there any other way of doing this ?
|
#4
|
|||
|
|||
If you configure the Run Program step that calls php.exe to Read program output from None and uncheck Hide application window, you can respond to a prompt from a console app called from the build. Then set the exit code of the process based on the response and use that exit code in the next step of Visual Build as needed.
http://www.kinook.com/VisBuildPro/Ma...gramaction.htm |
|
|