Php 变量之间的Shell exec小于符号

Php 变量之间的Shell exec小于符号,php,bash,shell,Php,Bash,Shell,我在PHP的shell\u exec中使用了以下代码: $shell\u command=“c:\php\php\u cgi.exe c:\php\php\u test.php” $post\u temp\u path=“c:\php\temp.212” shell_exec($shell_命令

我在PHP的
shell\u exec
中使用了以下代码:

$shell\u command=“c:\php\php\u cgi.exe c:\php\php\u test.php”

$post\u temp\u path=“c:\php\temp.212”

shell_exec($shell_命令<$post_temp_路径”)

我不明白您的shell程序(例如bashshell)允许什么叫做I/O重定向。在您的示例中,这基本上意味着您获取一件事情的输出并将其引导到另一件事情的输入


大于
运算符将
$shell\u命令的输出重定向到
$post\u temp\u path
的输入(在这种情况下,显然是一个文件)。不到
的部分,您可能应该确切地澄清您的问题。从技术上讲,您的代码将评估
$shell_command
的值是否小于
$post_temp_path
的值,并将
布尔值作为参数返回给
shell_exec
。你是不是想问一下?因为这与PHP无关,因此您的代码和标记很混乱。