Wondering if anyone has any thoughts about this. When I try to redirect stdout in my WSL terminal I get an error about having an open pipe. But I can run the same command from Git Bash without any problems. Does anyone have any thoughts on how I might get around this?
I am not a Linux power user by any stretch. I saw that this was an issue marked as closed on the WSL Github https://github.com/microsoft/WSL/issues/2370
Not sure if the fault lies with WSL or the user. Redirect works if I am not using SF commands. echo hello > hello.txt works just fine.
brooksdjohnson@DESKTOP-L4C7EFO:~$ sfdx force:data:soql:query -q 'SELECT FirstName, LastName FROM COntact Limit 20' -u uber > test.csv net.js:268 err = this._handle.open(fd); ^ Error: EINVAL: invalid argument, uv_pipe_open at new Socket (net.js:268:24) at createWritableStdioStream (internal/process/stdio.js:191:18) at process.getStderr [as stderr] (internal/process/stdio.js:32:14) at console.js:455:19 at NativeModule.compile (internal/bootstrap/loaders.js:364:7) at Function.NativeModule.require (internal/bootstrap/loaders.js:176:18) at setupGlobalConsole (internal/bootstrap/node.js:407:41) at startup (internal/bootstrap/node.js:142:7) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)