You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Batch activators unexpectedly turn echo off for subsequent commands #96894
If echo off isn't used, then individual statements have to be prefixed with @ to prevent echoing them. I just implemented this for the new versions of "activate.bat" and "deactivate.bat" that were proposed in issue #88706. Note that ending with echo on would be just as bad, since the caller may have it off. I haven't seen a way to detect the current echo state that doesn't involve ugly hacks such as writing to a temporary file.
Activity
eryksun commentedon Sep 17, 2022
If
echo offisn't used, then individual statements have to be prefixed with@to prevent echoing them. I just implemented this for the new versions of "activate.bat" and "deactivate.bat" that were proposed in issue #88706. Note that ending withecho onwould be just as bad, since the caller may have it off. I haven't seen a way to detect the current echo state that doesn't involve ugly hacks such as writing to a temporary file.gh-96894: Do not turn echo off for subsequent commands in batch activ…
pythongh-96894: Do not turn echo off for subsequent commands in batch…