In the following ./t is a program which simply echoes the command line
arguments if there are any, or calls itself via CreateProcess() and
the cmdline given.
When 'noglob' is set, things work as expected:
in the course of "sh -c", two backslashes are collapsed into ONE:
$ CYGWIN=noglob ./t
* Ralf Fassel
| | Does it work to pass the contents of the file on stdin instead of
| | the file name as an argument?
| |
| | external_program < "$TMPFILE"
|
| Duh. This should work in 95% of the cases. In the other cases file
| size of TMPFILE is involved, so redirection would n
* Eric Blake
| | # call program: error: no such file /cygdrive/c/temp/foo.1234
| | # filename should be c:/temp/foo.1234
| | external_program "$TMPFILE"
|
| Does it work to pass the contents of the file on stdin instead of
| the file name as an argument?
|
| external_program < "$TMPFI
In a SHELL script I prepare a temp file to pass to some non-cygwin
program:
# TMPDIR is set to c:/temp outside of cygwin
# which translates to /cygdrive/c/temp inside cygwin
# prepare input
TMPFILE=$TMPDIR/foo.$$
cat > "$TMPFILE" <<\EOF
some stuff
EOF
# call program
* Vince Hoffman
| This is an old old question and not as simple as it seems, search the
| archives for more details
I tried, but the October/November archives did not yield anything
related, and searching for "setup.exe" w/o date restriction gave me an
`internal server error' :-(
Internal Se
Why is the setup.exe window fixed size, with scrollbars? Why not
allow to user to expand the window to full screen size, so you can
view more than three packages at a time? I'm currently using
Starting cygwin install, version 2.249.2.5
R'
--
Unsubscribe info: http://cygwin.com/ml/#unsubs
* Corinna Vinschen
| > - the ssh-host-config script should make sure that CYGWIN contains
| > `ntsec' when trying the chmod/chown steps
|
| That shouldn't be necessary anymore since 1.3.14 sets ntsec by
| default on NT systems.
Good Thing (TM). But then, why didn't the chown call succeed? Or
* Corinna Vinschen
| I've updated the version of OpenSSH to 3.5p1-1.
A short remark on the ssh-host-config script:
- I upgraded to 3.4p1 recently and `it' did not work: the logfile
complained about `wrong mode or owner of /var/empty'.
- I then manually chown/chmod'ed the directory to system.syst
8 matches
Mail list logo