Friday, July 6, 2012

Run multiple sequential command on a single DOS terminal using php

and which part is in PHP ? ??GeoPhoenix 1 hour ago
please clarify ur question. ??Ziumin 1 hour ago
i mean, which part of batch execution is coded with php. the main question is very poor, he/she might want to get the output of the command, or pass parameters to the commands, "make a batch and execute it" looks unclear to me ??GeoPhoenix 1 hour ago
ok, u can generate batch script using php, each command can be suffixed with ">>" to redirect an output. then u can save this script to file using php, and then execute it (for example, using exec()). it is also possible to read file or execution results via php. have i answered ur question? ??Ziumin 1 hour ago

feedback

Source: http://stackoverflow.com/questions/11343557/run-multiple-sequential-command-on-a-single-dos-terminal-using-php

barry sanders john scott jimmie johnson juan pablo montoya crash chardon high school shooting mark martin cleveland news

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.