Page 1 of 1

ShutDown after encode with HandbrakeCLI

Posted: Thu Aug 20, 2020 1:00 am
by starzar
Description of problem or question:

Is there a way to shutdown computer after encode with HandbrakeCLI?

From the cli reference (https://handbrake.fr/docs/en/latest/cli ... rence.html) there doesn't seem to any way but since the rendering progress is being calculated by HandbrakeCLI , is it possible to return this progress ?



Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):

HandBrakeCLI-1.3.3-win-x86_64
HandBrake-1.1.2-x86_64-Win_GUI


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Windows10-Pro 64bit


HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
If you are unable to do so, please state why so we can help you.

Re: ShutDown after encode with HandbrakeCLI

Posted: Thu Aug 20, 2020 11:45 am
by DrXenos
What I do on Windows is, if I'm calling the cli from a script, I call shutdown when it's done. If I'm calling it programmatically (background process), I call InitiateSystemShutdownEx when it's done.