gobble icon indicating copy to clipboard operation
gobble copied to clipboard

Check if a window was actually opened

Open Morganamilo opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Using gobble as a command wrapper can sometimes not work properly if some commands you're running don't launch a gui.

Describe the solution you'd like A clear and concise description of what you want to happen.

Gobble should be able to check if the launched program actually made a window and if not don't hide the terminal.

Additional context Add any other context or screenshots about the feature request here.

This may not work perfectly as a program may take some time to spawn a window? Also the could could introduce delay as we don't close out terminal right away.

Maybe we could check right away to see if there's a window, if not sleep for some time and try a second?

Morganamilo avatar Oct 29 '21 15:10 Morganamilo

Should be working on the testing branch. Try it to see if it's the behaviour you're asking for.

EmperorPenguin18 avatar Aug 22 '23 18:08 EmperorPenguin18