Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在谷歌应用引擎中运行可执行文件?就像使用 Runtime.exec 一样?
谷歌应用引擎文档中有白名单,列出了可以使用的类,但未指定类中的函数/。
不,绝对不是。
使 AppEngine 成为可能的唯一原因是 Python 和 Java 环境都由 Google 控制,因此可以最大限度地减少性能/可扩展性和安全问题。他们甚至不允许使用所有标准的 Java/Python 类,所以想象一下如果他们让人们运行任何可执行文件可能会出现的问题。甚至可能是病毒!