Skip to content

Start the CLI daemon process without a shell #2112

Closed
@kittaakos

Description

@kittaakos

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

Metadata

Metadata

Assignees

Labels

conclusion: resolvedIssue was resolvedtopic: codeRelated to content of the project itselftopic: securityRelated to the protection of user datatype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions