Jump to content
CCleaner Community Forums
Sign in to follow this  
Rob Pitt

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

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...