|
Posted by Jean Pierre Daviau on 01/23/08 21:23
"The Beloved" <maybe@one.day> a ιcrit dans le message de news:
4fnep397av4h88u656rc6jas1b2dqkdu8l@4ax.com...
> 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);
Does not work
Navigation:
[Reply to this message]
|