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

Activity

added
topic: codeRelated to content of the project itself
topic: securityRelated to the protection of user data
type: imperfectionPerceived defect in any part of project
on Jun 23, 2023
self-assigned this
on Jun 23, 2023
added a commit that references this issue on Aug 20, 2023
4398f66
added a commit that references this issue on Aug 20, 2023
2aae9e0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Participants

    @kittaakos@per1234

    Issue actions

      Start the CLI daemon process without a shell · Issue #2112 · arduino/arduino-ide