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

Enable shell-like syntax for extra_args from file #92

Closed
robinmatz opened this issue Mar 26, 2023 · 0 comments · Fixed by #93
Closed

Enable shell-like syntax for extra_args from file #92

robinmatz opened this issue Mar 26, 2023 · 0 comments · Fixed by #93
Labels
enhancement New feature or request
Milestone

Comments

@robinmatz
Copy link
Collaborator

With the current implementation of x3270._process_args arguments from a file are split by whitespaces, e.g.

# argfile.txt
-charset french

becomes ["-charset", "french"].

There are, however, resources that allow whitespace between the arguments, like -xrm "wc3270.blankFill: true". On a command line, the whitespace can be retained using single or double quotes. This is currently not possible with the implementation of x3270._process_args.

I would like something like

# argfile.txt
-xrm "wc3270.blankFill: true"

to be interpreted as ["-xrm", "wc3270.blankFill: true"]

@robinmatz robinmatz added the enhancement New feature or request label Mar 26, 2023
@robinmatz robinmatz added this to the 3.2 milestone Mar 26, 2023
samuelpcabral added a commit that referenced this issue Mar 31, 2023
(#92) Enable shell-like syntax in `extra_args` from file
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
1 participant