实际上,您仍然可以对标准错误使用重定向或管道命令,但不能对标准输出使用,因为没有任何标准输出—正在内部使用popen函数由管道将它输送至lp进程。
Actually, you can still redirect or pipe stderr, but not stdout, since there will not be any standard output — it's being internally piped to the lp process using the popen function.
实际上,您仍然可以对标准错误使用重定向或管道命令,但不能对标准输出使用,因为没有任何标准输出—正在内部使用popen函数由管道将它输送至lp进程。
Actually, you can still redirect or pipe stderr, but not stdout, since there will not be any standard output — it's being internally piped to the lp process using the popen function.
应用推荐