Allow the usage of environment variables in the external command configuration

Description

It would be easier if it was possible to specify the external command and arguments with environment variables.

E.G. the settings in https://greenshot.atlassian.net/browse/FEATURE-943#icft=FEATURE-943 are:

  1. Command

    C:\WINDOWS\System32\rundll32.exe
  2. Arguments

    "C:\Program Files\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen {0}

After implementing this feature they would be:

  1. Command

    %SystemRoot%\System32\rundll32.exe
  2. Arguments

    "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen {0}

Which should make it more portable.

Environment

None

Gliffy Diagrams

Activity

Show:

Robin Krom May 20, 2016 at 9:40 PM

Currently both %var% and ${var} are allowed....

Fixed

Details

Assignee

Reporter

Time tracking

5h logged

Components

Sprint

Affects versions

Priority

Created May 20, 2016 at 9:38 PM
Updated October 2, 2016 at 7:53 PM
Resolved May 20, 2016 at 9:40 PM