Jump to content

Redirection of th eStandard Output from the command line DF/ DF64.exe


Rob Pitt

Recommended Posts

Hi guys,

 

The following issue is present in both v1 and the new v2 beta.

 

There's something a bit odd about the way the command line utility emits it standard output.

Specifically if an attempt is made to redirect the output, even trivially via DF C: > C:\log.txt

then no output is written until the end when the process terminates.

 

Quite why this might be I'm not sure as I would have expected the default stdout buffering to flush after every newline, but that isn't the behaviour I see.

 

Anyway this is an annoyance as it prevents you from monitoring the progress of DF when running it in a scripted/automated environment.

 

If you could fix this it'd be great (also an option to abandon the defrag after a set number of minutes would be cool).

 

Cheers,

 

Rob

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.