[REPOST]如何在linux中控制第三方应用程序? [英] [REPOST] how to control a third-party applicaion in linux?

查看:124
本文介绍了[REPOST]如何在linux中控制第三方应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
首先我没有第三方应用程序的源代码。我详细描述了我的问题,例如第三方应用程序上有一个按钮,它可以实现一个函数按下按钮。然后我想用按钮编写一个新的应用程序,我只需按下新应用程序上的按钮,第三方应用程序就可以实现该功能。你能给我一些提示,系统是linux吗?

hi first i have no source code of the 3rd-party application.let me describe my problem in detail for you,for example there is a button on the 3rd-party application,it can implement a function with the button is pressed down.then i want to write a new application with a button too,i just press the button on the new application,and the 3rd-party application could implement the function. could you give me some tips and the system is linux?

推荐答案

你不应该重新发布并忽略你已经得到的答案。请参阅我对问题和答案的评论:如何将消息发布到linux中的第三方应用程序? [ ^ ]。



让我解释一下更多:Linux中的进程是完全隔离的,不同的应用程序是不同的进程。如果应用程序是为与他人协作而设计的,那么您应该对其进行描述。从文档中了解。 Linux中常见的一种技术是管道。它用于简单的应用程序从标准输入获取文本数据并写入标准输出。但是这样的应用程序不应该做任何其他事情。



然而,你告诉我们一些关于按钮的事情,也就是说,这是一个UI应用程序。不做脏事,做正当的事。例如,我会首先考虑用你自己写的东西替换这个未知的应用程序。



这就是全部。如果您提供的信息很少,则表示您对此应用程序几乎一无所知,因此我们几乎一无所知。这足以说明:不要这样做。



-SA
You should not re-post and ignore the answer you already got. Please see my comment to the question and that answer: how to post message to a third-party appliaction in linux?[^].

Let me explain more: processes in Linux are well isolated, and different applications are different processes. If an application is designed for collaboration with others, you should have described it. Learn if from documentation. One technique usual in Linux is piping. It is used for simple application getting text data from standard input and writing to standard output. But such application should not do anything else.

You, however, told us something about "button", that is, this is a UI application. Don't do dirty business, do something legitimate. I, for example, would first think about replacing of this unknown application with something you would write by yourself.

That's all. If you have as little information as you gave us, it means you know virtually nothing about this application, so we also know virtually nothing. This is enough to say: don't do it.

—SA


这篇关于[REPOST]如何在linux中控制第三方应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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