如何在 NSIS 中获取命令输出? [英] How to get command output in NSIS?

查看:57
本文介绍了如何在 NSIS 中获取命令输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道,如何在 NSIS 中获取 execwait 命令的输出.例如,如果我运行 tree,我将如何获得输出,即实际的树?

I'm wondering, how do I get the output of an execwait command in NSIS. For example, if I run tree, how would I get the output, which would be the actual tree?

推荐答案

你不能用 ExecWait 做到这一点,你必须使用插件之一:nsExec, ExecDosExecCmd

You can't do that with ExecWait, you have to use one of the plugins: nsExec, ExecDos or ExecCmd

这篇关于如何在 NSIS 中获取命令输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆