command-line - XP命令提示符: redirect a file to STDOUT

标签 command-line

我想做与大家相反的事(笑) 我使用如下命令行启动 open-erp:

C:\OpenERPAllInOne\Server>openerp-server.exe --log-file=outputfile

但问题是,在 Windows 中它只能输出到文件。

有没有办法将文件重定向到 STDOUT。 例如(它不起作用,但这是我看到它工作的方式):

C:\OpenERPAllInOne\Server>openerp-server.exe --log-file=STDOUT

然后直接查看命令行的输出。

我无法让它工作!有什么想法吗?

谢谢

奥利维尔

最佳答案

我不确定它是否仍然有效,尝试使用 CON(希望是这样)作为文件名

关于command-line - XP命令提示符: redirect a file to STDOUT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1426422/

相关文章:

java - 从命令行运行 Eclipse 项目

windows - 在 Windows 中自动创建和登录用户帐户

php - 从命令行运行 PHP 是否需要 #!/usr/bin/env?

ruby-on-rails - rails : is there a way to add associations via the command line?

command-line - 我应该如何学习编写程序?

linux - 当我尝试通过 SSH 检查 Linux Live Server 上的 Sudo 版本时出错

testing - 通过命令行向 NUnit 传递参数

c++ - 二进制数据作为命令行参数

c# - Parser.Default.ParseArguments 始终返回 false

linux - 比较两个文件夹时如何避免.git文件