tee: 'standard output': Permission denied

Takashi Yano takashi.yano@nifty.ne.jp
Wed Dec 30 04:40:10 GMT 2020


On Wed, 30 Dec 2020 13:02:58 +0900
Takashi Yano via Cygwin <cygwin@cygwin.com> wrote:
> I am not sure why you don't wat to use script,
> how about this then?
> 
> @echo off
> set CYGWIN_ROOT=...
> set PWD=...
> set PROJECT_LOG_FILE=...
> 
> "%CYGWIN_ROOT%\bin\script" -q -a "%PROJECT_LOG_FILE%" -c "chcp.com 65001 > /dev/null 2>&1; cd \"%PWD%\"; CHERE_INVOKING=1 /bin/bash --login"

or:

@echo off
set CYGWIN_ROOT=...
set PWD=...
set PROJECT_LOG_FILE=...

cd "%PWD%"
"%CYGWIN_ROOT%\bin\script" -q -a "%PROJECT_LOG_FILE%" -c "chcp.com 65001 > /dev/null 2>&1; CHERE_INVOKING=1 /bin/bash --login"

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin mailing list