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

Feature: jlab --wait and --no-wait #877

Open
ntessore opened this issue Nov 21, 2024 · 3 comments
Open

Feature: jlab --wait and --no-wait #877

ntessore opened this issue Nov 21, 2024 · 3 comments

Comments

@ntessore
Copy link

ntessore commented Nov 21, 2024

It would be great if jlab supported something like --wait and --no-wait options that control whether the process returns to the shell once the GUI has launched.

% jlab --no-wait
% # returns after GUI window opens
@RRosio
Copy link

RRosio commented Nov 26, 2024

Thank you for opening this issue @ntessore! I will tag this as an enhancement, we welcome any contributions!

@RRosio
Copy link

RRosio commented Dec 3, 2024

@ntessore just a quick follow-up, would provide a bit more context about the applications you might currently use which support the --wait and --no-wait options?

@ntessore
Copy link
Author

ntessore commented Dec 3, 2024

I am thinking primarily of the behaviour of GUI text editors. To behave as jlab currently does (launching and only returning to the command line prompt once the window closes), most text editors need a switch. For example:

  • VS Code: code --wait
  • TextMate: mate -w
  • MacVim: mvim -f (for 'foreground')

For these, launching the GUI and returning to the prompt is the default behaviour. I would prefer the same behaviour for jlab, but I can see that there may be backward compatibility concerns here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants