C# Class Jackett.Services.ProcessService

Inheritance: IProcessService
显示文件 Open project: WarlaxZ/Jackett

Public Methods

Method Description
ProcessService ( Logger l ) : NLog
StartProcessAndGetOutput ( string exe, string args, bool keepnewlines = false, bool asAdmin = false ) : string
StartProcessAndLog ( string exe, string args, bool asAdmin = false ) : void

Private Methods

Method Description
Run ( string exe, string args, bool asAdmin, DataReceivedEventHandler d, DataReceivedEventHandler r ) : void

Method Details

ProcessService() public method

public ProcessService ( Logger l ) : NLog
l Logger
return NLog

StartProcessAndGetOutput() public method

public StartProcessAndGetOutput ( string exe, string args, bool keepnewlines = false, bool asAdmin = false ) : string
exe string
args string
keepnewlines bool
asAdmin bool
return string

StartProcessAndLog() public method

public StartProcessAndLog ( string exe, string args, bool asAdmin = false ) : void
exe string
args string
asAdmin bool
return void