Forrest logo
back to the pio tool

pio-home:tldr:42427

pio-home: Automatically shutdown the server on timeout (in seconds) when no clients are connected.
$ pio home --shutdown-timeout ${time}
try on your machine

The command "pio home --shutdown-timeout ${time}" is used to set the shutdown timeout for the PlatformIO Home application.

Here's a breakdown of the command:

  • "pio home": This is the main command used to interact with the PlatformIO Home CLI (Command Line Interface). It is the entry point for various PlatformIO commands.

  • "--shutdown-timeout": This is an option or flag used to specify the shutdown timeout value for the PlatformIO Home application. The shutdown timeout determines how long the application will wait before automatically shutting down when it's not in use.

  • "${time}": This is a placeholder for an actual value that you need to provide. You should replace "${time}" with the desired shutdown timeout value. For example, if you want to set the timeout to 60 seconds, the command would become "pio home --shutdown-timeout 60".

In summary, this command allows you to customize the shutdown timeout value for the PlatformIO Home application, allowing you to control how long it stays active when idle.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pio tool