Skip to content

Inconsistent Write vs WriteLine Use #708

Description

@IceOfWraith

What did you expect to happen?

I'm working to implement DepotDownloader into our game management panel also written in .NET, but running into an issue parsing the output from it. In cases like Steam Guard prompting the application uses Write() which doesn't flush to the buffer or end in a newline so when it's ran from within another .NET app there's no output received from the console to act on. Changing to WriteLine() or adding a manual flush after the Write() should solve it.

Instead of that, what actually happened?

STEAM GUARD! Please enter the auth code sent to the email at pm.me: <- This line never makes it to the stdout or stderr

Which operating system are you running on?

Windows

Version

3.4.0

Command

DepotDownloader.exe -dir "redacted" -username "redacted" -password "redacted" -remember-password -max-downloads 8 -app 105600

Relevant log output

Connecting to Steam3... Done!
Logging 'redacted' into Steam3...
STEAM GUARD! Please enter the auth code sent to the email at pm.me: <- This line never makes it to the stdout or stderr

Additional Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions