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.
正在执行命令的 Lazarus/FPC 程序如何TProcess检测输入提示并为输入创建图形对话框?
TProcess
例如,假设我执行了一个需要输入密码的ssh命令- 它如何检测到它,用图形对话框提示它并传递它以使命令继续?TProcess
ssh
好吧,您至少有两个选择:
dialog --passwordbox "Please enter password:" 10 40
zenity --password --title "Security question: "