mirror of
https://github.com/winsw/winsw.git
synced 2025-12-10 18:37:28 +08:00
Add option to send a SIGINT to the process being wrapped
This commit is contained in:
@@ -561,5 +561,15 @@ namespace winsw
|
||||
return !string.IsNullOrEmpty(serviceAccountDomain) && !string.IsNullOrEmpty(serviceAccountName);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// True if the service can interact with the desktop.
|
||||
/// </summary>
|
||||
public bool SendSIGINT
|
||||
{
|
||||
get
|
||||
{
|
||||
return dom.SelectSingleNode("//sendsigint") != null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user