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

Send parameters and potentially integrate with launch.json #8

Closed
ruffin-- opened this issue Jan 11, 2023 · 2 comments
Closed

Send parameters and potentially integrate with launch.json #8

ruffin-- opened this issue Jan 11, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@ruffin--
Copy link

How do I send parameters to the command being executed?

If there's not a way I've missed (AIA in I have), something like the args property of launch.json in node would be really useful.

These attributes are only available for launch configurations of request type launch:

...

args - arguments passed to the program to debug. This attribute is of type array and expects individual arguments as array elements.

@nils-soderman
Copy link
Owner

Hi,

As of right now there's no way to pass along arguments.

Been thinking about adding another command e.g. "Run batch file with arguments" that will spawn a text input dialog first to allow the user to insert any number of arguments:
image

Will be looking into this in the near future!

@nils-soderman nils-soderman added the enhancement New feature or request label Feb 26, 2023
@nils-soderman
Copy link
Owner

nils-soderman commented Jun 10, 2023

Hi,

Just released version 1.1.0 which includes a new command batch-utils.execBatchFileArgs that spawns an input dialog where you can type the arguments.

Cheers,
Nils

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

No branches or pull requests

2 participants