• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Preventing Win7 sleeping while running command line apps

Jovec

Senior member
Vista 7 x64 didn't have this issue. Handbrake encoding launches a command line app in a dos box for the actual encoding. CPU usage is obviously very high during the encode(s), but Win7 x64 will still enter sleep. I know Handbrake itself could be coded to prevent sleep during encodes, but the behavior is obviously different between Vista and Win7.

Of course I can disable sleep in the power control panel, but it's less than ideal - for example I might have 12 hours of encodes but don't want to leave the computer on for the other 36 over a weekend. Any ideas?
 
try putting shutdown /s at the end of your encoding batch file?

it'll do a full shutdown.. not a sleep. dunno how to help you on sleep. but better than nothing?
 
Back
Top