{"id":5014,"date":"2014-03-30T17:57:03","date_gmt":"2014-03-30T17:57:03","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/ant-exec-task-how-can-i-read-input-from-console-stdin-collection-of-common-programming-errors\/"},"modified":"2014-03-30T17:57:03","modified_gmt":"2014-03-30T17:57:03","slug":"ant-exec-task-how-can-i-read-input-from-console-stdin-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/ant-exec-task-how-can-i-read-input-from-console-stdin-collection-of-common-programming-errors\/","title":{"rendered":"Ant exec task: How can I read input from console stdin?-Collection of common programming errors"},"content":{"rendered":"<p>I have a call to Ant <code>exec<\/code> task that needs to accept input from console stdin. Unfortunately, I cannot find a way to do this. The stdin filehandle seems closed to console input at runtime.<\/p>\n<p>It is possible to specify input using attributes <code>input<\/code> and <code>inputstring<\/code>. However, I need to prompt for user input at the console.<\/p>\n<p>How can I do this?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a call to Ant exec task that needs to accept input from console stdin. Unfortunately, I cannot find a way to do this. The stdin filehandle seems closed to console input at runtime. It is possible to specify input using attributes input and inputstring. However, I need to prompt for user input at [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5014","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5014"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5014\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}