autostart-manage/autostart-manage/exec_command.sh

8 lines
144 B
Bash
Raw Normal View History

2024-01-08 22:37:31 +00:00
#!/usr/bin/env bash
program=${args[program]:?}
cmd=$(_get_autostart_cmd "$program")
sleep "$(_get_autostart_delay "$program")"
bash -c "$cmd"