Hi,
We are currently porting Babeltrace 2 to cygwin and experiencing a subtle
difference regarding the behaviour of nftw().
On a Gnu/Linux system (Ubuntu 18.04), using the example from the man page of
nftw(see nftw.c), passing a non-existent directory will result in a failure of
the nftw()
call
Hi Brian,
you actually hinted me at sth. : powershell.exe Start-Process bash
\"-c\",\"\'echo hello world \>`readlink /proc/$$/fd/1`\;sleep 10\'\"
works as well.
I verified this:
>echo hello >/proc/3235/fd/0
-bash: echo: write error: Bad file descriptor
>echo hello >`readlink /proc/3235/fd
Hi Brian,
thanks for the reply.
But proc/$$/fd/1 references the callers stdout and not the callees as
/dev/stdout or /proc/self/fd/2 if called from eg. from bash, because it
is expanded before the call.
What I was able to do is to inject messages into the callers stdout and
read from the c
3 matches
Mail list logo