I am using PowerShell and am trying to run the following command:
.\\test_cfdp.exe < test.full | tee test.log
test.full is a script that
If you want to run this command more times, you can just make a *.bat file with the original syntax. That's another solution.
I have switched to linux shell and it works
This was not supported in PowerShell v1 [and as of v5, it's still not...]
An example workaround is:
Get-Content test.full | .\test_cfdp.exe | tee test.log
Also try:
cmd /c '.\test_cfdp.exe < test.full | tee test.log'