ShutDown after encode with HandbrakeCLI

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
starzar
Posts: 4
Joined: Sun Jun 16, 2019 4:12 pm

ShutDown after encode with HandbrakeCLI

Post 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.
DrXenos
Bright Spark User
Posts: 256
Joined: Sat Mar 16, 2013 1:19 pm

Re: ShutDown after encode with HandbrakeCLI

Post 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.
Post Reply