search for: descriptorspec

Displaying 2 results from an estimated 2 matches for "descriptorspec".

2003 Oct 17
1
Script Control of sftp
...the password prompt appears on the screen, and the password is accepted directly from the keyboard, while the password submitted by the script is ignored. Any ideas why, and/or how I can control the IO through the auth stage? Here is my code: #!/usr/www/users/holotech/cgi-bin/php4.cgi <?php $descriptorspec = array( 0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("file", "/tmp/error-output.txt", "a") ); $Server = "myserver.pair.com"; $User = "holotech"; $Pass = &quot...
2008 Feb 12
1
fflush now?
...turned? I believe I found a page yesterday mentioning flush and app exit with Alexandre Julliard, but this isn't the one http://www.winehq.org/pipermail/wine-patches/2005-May/017363.html I recall running a wine-0.9.27 or later and fflush worked (not using pipes). If you try it from PHP, the $descriptorspec should be = array( 0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "w") ); ("w", not "r" for stderr, index 2). Does wine fflush when you tell it? Code compiled in VC++6.0 on MS...