You could put a new property into the ExecAction class.
Add this at the top of the Class right below the ScriptIdentifer variable.
Add this at the top of the Class right below the ScriptIdentifer variable.
/// <summary>
/// Tells the Path property if it should return a fully validated executable path. The default setting is False.
/// </summary>
public bool validatePath = false;
And then finally put this in... if (this.validatePath)
{
return GetProperty<string, IExecAction>(nameof(Path), "");
}
else
{
return GetProperty<string, IExecAction>(nameof(Path), "").Replace("\"", "");
}