We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.

ExecPri plug-in

From NSIS Wiki
Jump to navigationJump to search
Author: KiCHiK (talk, contrib)


Links

ExecPri.zip (5 KB)

Description

A plug-in that lets you execute process and choose their priority class.

To "install" the plug-in, extract ExecPri into your plugins directory in your NSIS directory.

This plug-in should work with version prior to NSIS 2 too (using CallInstDLL).

The working directory is $OUTDIR.

Usage

ExecPri::ExecWait "myprog.exe" "priority_class"

priority_class can be one of the following:

  • normal
  • above normal
  • below normal
  • high
  • realtime
  • idle