Search found 1 match

by nauman73
Fri Sep 26, 2003 9:17 am
Forum: PHP - Code
Topic: Executing a command line program and getting output
Replies: 0
Views: 298

Executing a command line program and getting output

Hi! I am using exec() function to execute a command line porgram on my Windows machine. I want o get the output from execution and parse it. I pass an array to exec() function. An example call is: <?php exec("dir", $output, $ret); ?> Of course I am not using the "dir" command in ...