Skip to content

Start the CLI daemon process without a shell #2112

@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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy