DevExpress / DevExpress/testcafe-browser-provider-electron
appArgs inside Configuration file doesn't allow whitespaces ( ) or quotation marks (")
Open
Nobody has claimed this yet.
STATE: Need clarification
- Dominant language
- JavaScript
- Stars
- 48
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I'm trying to use app arguments for my executable electron application but I'm having 2 issues.
- If an argument contains a white space, it would automatically add quotation marks around the argument:
{
"mainWindowUrl": "./index.html",
"appArgs": ["--test:1"]
}
vs
{
"mainWindowUrl": "./index.html",
"appArgs": ["--test: 1"]
}
Here is the app's arguments in Task Manager:
vs
- Quotation marks aren't escaped properly and breaks escape characters:
{
"mainWindowUrl": "./index.html",
"appArgs": ["--location=C:\\"]
}
vs
{
"mainWindowUrl": "./index.html",
"appArgs": ["--location=\"C:\\\""]
}
vs
Thank you very much for your time.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Electron provider's appArgs handling with an argument containing a space and another containing escaped quotation marks and backslashes. Trace how these arguments are passed to the executable; done means whitespace, quotation marks, and escape characters arrive unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript, node.js
- Domain
- desktop, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100