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.
我想知道如何将字符串值从一个应用程序发送到另一个应用程序(application2)
就像我通过 Process 获得了价值一样。标准输出。但是不知道如何发送这种类型的消息!
换句话说,application1 捕获的值来自 application2 的返回。
有几种方法:
一个简单的解决方案是让一个应用程序从另一个应用程序获取命令行参数。
但是您的问题没有指定两个应用程序是否需要在数据传输时运行。