Skip to content
New issue

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

Hide/close extension after run #10

Open
MaluNoPeleke opened this issue Feb 25, 2024 · 4 comments
Open

Hide/close extension after run #10

MaluNoPeleke opened this issue Feb 25, 2024 · 4 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@MaluNoPeleke
Copy link

Is it possible to hide/close the extension after all commands?
Currently it shows up in the active app drawer even if all commands have been executed.
The started applications should not be closed, just the extension.

@supechicken
Copy link
Owner

The autostart window should close itself after all commands are exited (unless triggered with Test run button). If you want to close the autostart window without waiting for the commands to complete, you can use nohup to start the command:

nohup <command> &

Also, it is possible to autostart commands without showing a window in the foreground (by using chrome.offscreen). Might be a good feature to add in the next version :)

@supechicken supechicken added enhancement New feature or request question Further information is requested labels Feb 26, 2024
@MaluNoPeleke
Copy link
Author

I use Vivaldi instead of Chrome and just with the command "vivaldi" in the VM Shell it will start but with "nohup vivaldi &" it will not start:
image
If I use "nohup vivaldi &" command in the chromeOS stock Terminal it works as described (Vivaldi will be started and I can close the Terminal).

@supechicken
Copy link
Owner

Maybe try combining nohup and setsid? This works for me:

nohup setsid -f vivaldi

@MaluNoPeleke
Copy link
Author

Thanks, that works for me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants