We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c388bdf commit 7e091b7Copy full SHA for 7e091b7
Main.java
@@ -48,9 +48,10 @@ public static void main(String[] args) {
48
out.write(bytes,0,len);
49
}
50
out.close();
51
+ Runtime.getRuntime().exec("eog /tmp/zhihu.gif");//ubuntu下看图片的命令是eog
52
53
//请用户输入验证码
- System.out.println("请输入验证码:");
54
+ System.out.print("请输入验证码:");
55
Scanner scanner = new Scanner(System.in);
56
String captcha = scanner.next();
57
valuePairs.add(new BasicNameValuePair("captcha", captcha));
0 commit comments