|
Posted by The Beloved on 01/23/08 15:34
On Wed, 23 Jan 2008 08:26:39 -0500, "Jean Pierre Daviau"
<Once@WasEno.ugh> wrote:
>I have found that it was the indirection < that
>creates the bug.
>> $a=array();
>> $output = exec("tree_words.exe < $input", $a);
>> var_dump($a);
Create the command string outside the exec command ?
$mycommand = "tree_words.exe ".char(60)." ".$input;
$output = exec($mycommand, $a);
Not tested.
--
....For Those Not Te Be Forgotten...
Navigation:
[Reply to this message]
|