-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Print piped commands as they are executed #36
Comments
You can use |
At least on Windows, that most definitely does not work. |
Due to how buffering works it will read as much as possible from the input |
@zulc22 it looks like that even echo device !@hdl_path! > "%~dp0TMP\pfs-prt.txt"
echo ls -l >> "%~dp0TMP\pfs-prt.txt"
echo exit >> "%~dp0TMP\pfs-prt.txt"
type "%~dp0TMP\pfs-prt.txt" | "%~dp0BAT\pfsshell" 2>&1 | "%~dp0BAT\busybox" tee > "%~dp0TMP\pfs-prt.log" |
@zulc22 I couldn't find how to print the piped commands as they are executed in the console. if you want to understand how pfsshell works, use it do your commands one by one directly then redo the shema in like in the example that AKuHAK showed you |
Checks
Describe the FR
If you create a "script" for pfsshell and attempt to pipe it in, the prompt is the only thing shown on screen and it doesn't really let the user know what's happening or how much of the script has executed.
cat script.txt | pfsshell
Describe the solution you'd like
Print piped commands as they are executed
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: