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