We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lua config doesn't seem to execute commands with exec_once as autoload, while exec works fine
exec_once
exec
e.g
process.spawn_once("alacritty", function(stdout, stderr, exit_code, exit_msg) print("finished spawn_once") end)
alacritty doesn't show up after launch.
The text was updated successfully, but these errors were encountered:
If you have alacritty open anywhere else on your system then Pinnacle counts it as running and won't spawn it using spawn_once.
spawn_once
The solution would be to check if the program was spawned by Pinnacle itself before choosing not to run it.
Edit: This is because the Lua API delegates to pgrep to check for duplicate processes.
pgrep
Sorry, something went wrong.
Should be fixed now, feel free to reopen if it still doesn't work.
Ottatop
Successfully merging a pull request may close this issue.
Lua config doesn't seem to execute commands with
exec_once
as autoload, whileexec
works finee.g
alacritty doesn't show up after launch.
The text was updated successfully, but these errors were encountered: