我想创建一个可以在所有操作系统上运行的本机应用程序,并且可以运行终端命令 [英] I want to create a native app that runs in all OS, and can run terminal commands

查看:85
本文介绍了我想创建一个可以在所有操作系统上运行的本机应用程序,并且可以运行终端命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这项技术Chrome应用或Google NaCl可以为我提供此功能吗?

Can this technology Chrome App or Google NaCl provide me with this capabilities?

基本上,它应该能够运行终端命令(即使先征得许可).

Basically it should be able to run terminal commands (even by asking permission first).

它需要能够编辑客户端的文件系统.

And it needs to be able to edit client's filesystem.

我对Chrome App或Google NaCl感兴趣,因为它们都可以在任何支持chrome的操作系统中运行.

I am interested in Chrome App or Google NaCl because they both can run in any operating system (that supports chrome).

推荐答案

Chrome应用无法执行任意系统进程(也称为运行终端命令).没有此权限.

Chrome apps cannot execute arbitrary system processes (aka run terminal commands). There is no permission for this.

Chrome应用程序可以使用消息传递,套接字等与其他应用程序进行通信,但是您需要一个特殊的终端应用程序来接收这些消息-这意味着首先要解决您当前要解决的问题!

Chrome apps can communicate with others apps using message passing, sockets, etc, but you would need a special terminal application to receive these messages -- which would mean first solving the problem you are currently asking to solve!

这篇关于我想创建一个可以在所有操作系统上运行的本机应用程序,并且可以运行终端命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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