Skip to content

Allow setting the priority of spawned processes #2176

@clemenswasser

Description

@clemenswasser

This is a feature request for allowing the user to set the priority/niceness of the processes spawned by ninja.
The idea comes from the recently added "Low Priority Builds" feature of MSBuild which they described in a Blog Post.
At least for Windows it should be pretty easy to add one of the priority classes to the process_flags of the CreateProcessA call in subprocess-win32.cc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions