Posted by Uwe Klein on 12/01/06 20:48
comp.lang.tcl wrote:
> This is the error I get:
>
> Status: 404 X-Powered-By: PHP/4.4.4 Content-type: text/html No input
> file specified. child process exited abnormally while executing "exec
> $valPHPPath -q << $php" (procedure "XML_GET_ALL_ELEMENT_ATTRS" line 37)
this may be an error or just happen because the invokation of php outputs
something to stderr.
you may want to wrap the [exec ... ] into a catch statement like:
if {[catch {exec $valPHPPath -q << $php"} retval]} {
# talk about what the error was
puts stderr "exec with error: $retval"
} else {
# do something sensible with a successfull return.
}
and see whats happening.
catch is very usefull, but you may want to take some rye on the side ;-)
uwe
Navigation:
[Reply to this message]
|