public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* tee: 'standard output': Permission denied
@ 2020-12-27  2:04 Andry
  2020-12-29 21:50 ` Andry
  0 siblings, 1 reply; 19+ messages in thread
From: Andry @ 2020-12-27  2:04 UTC (permalink / raw)
  To: cygwin

Hello Cygwin,

  I am trying to change directory before run a bash shell with login:

  "%CYGWIN_ROOT%\bin\bash.exe" -c "{ cd ""%PWD:\=/%""; CHERE_INVOKING=. ""%CYGWIN_ROOT:\=/%/bin/bash.exe"" -l -i; } 2>&1 | ""%CYGWIN_ROOT:\=/%/bin/tee.exe"" -a ""%PROJECT_LOG_FILE:\=/%"""

  , where:

  CYGWIN_ROOT - path to cygwin root directory
  PWD - arbitrary working directory to run bash from
  PROJECT_LOG_FILE - path to log file to log stdout+stderr

  Currently this throws the error: `tee: 'standard output': Permission
  denied` if try to type not valid command or expression, and input is
  stalls.

  The same behaviour in the msys.

  Do anyone have a solution?


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2020-12-31 16:30 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-27  2:04 tee: 'standard output': Permission denied Andry
2020-12-29 21:50 ` Andry
2020-12-30  1:29   ` Kevin Schnitzius
2020-12-30  2:22     ` Andry
2020-12-30 19:21       ` Brian Inglis
2020-12-31 16:33         ` Andry
2020-12-30  1:31   ` Doug Henderson
2020-12-30  1:45   ` Takashi Yano
2020-12-30  2:24     ` Andry
2020-12-30  4:02       ` Takashi Yano
2020-12-30  4:40         ` Takashi Yano
2020-12-30  4:54           ` Andry
2020-12-30  5:11           ` Andry
2020-12-30  4:49         ` Andry
2020-12-30  5:03           ` Takashi Yano
2020-12-30  5:18             ` Andry
2020-12-30  6:40             ` Takashi Yano
2020-12-30 10:13       ` Takashi Yano
2020-12-30 15:07         ` Andry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).