ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40858] - Problem with inputstring property of exec task. It fails on windowsXP
Date Wed, 01 Nov 2006 12:38:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40858>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40858


peterreilly@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From peterreilly@apache.org  2006-11-01 04:38 -------
The pg_* commands do not use standard input
to get input, they directy access the tty device
(or console on windows).
This can be seen by using the command line:
pg_dump -i -h localhost -p 5432 -U postgres -v -d postgres -f x.dump  < pass
where pass is a file containing the password
The program ignores the input stream and outputs
to the console: Password:
and then reads from the console.
The pg_* commands do not seem to provide a way to
specify a password on the command line, or useing
a file, so you will need something
like expect:
http://expect.nist.gov/


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message