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

Start the CLI daemon process without a shell #2112

Closed
3 tasks done
kittaakos opened this issue Jun 23, 2023 · 0 comments · Fixed by #2182
Closed
3 tasks done

Start the CLI daemon process without a shell #2112

kittaakos opened this issue Jun 23, 2023 · 0 comments · Fixed by #2182
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself topic: security Related to the protection of user data type: imperfection Perceived defect in any part of project

Comments

@kittaakos
Copy link
Contributor

kittaakos commented Jun 23, 2023

Describe the problem

This is a follow-up task of #2067:

The CLI daemon process is a leftover:

const options = { shell: true };
const daemon = spawn(`"${cliPath}"`, args, options);

To reproduce

It's a dev thing.

Expected behavior

Processes are not started with a shell.

Arduino IDE version

d79bc0d

Operating system

macOS

Operating system version

13.4

Additional context

Related

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@kittaakos kittaakos added topic: code Related to content of the project itself topic: security Related to the protection of user data type: imperfection Perceived defect in any part of project labels Jun 23, 2023
@kittaakos kittaakos self-assigned this Jun 23, 2023
kittaakos pushed a commit that referenced this issue Aug 20, 2023
Closes #2112
Ref: #2067

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Aug 20, 2023
Closes #2112
Ref: #2067

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@per1234 per1234 added the conclusion: resolved Issue was resolved label Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself topic: security Related to the protection of user data type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants