终端标准输入不适合设备的ioctl

时间:2018-06-26 05:19:35

标签: shell perl

我们正在创建一个脚本来自动化,但是在运行脚本时我们无法提供应用程序的密码作为输入。

我使此脚本将输入作为密码,但它出了错:

Pwd=password
perl /test/adcfgclone.pl dbconfig /home/TEST_hostname.xml << EOF
Pwd

输出:

stty: standard input: Inappropriate ioctl for device
Enter the APPS password :
stty: standard input: Inappropriate ioctl for device

0 个答案:

没有答案
相关问题