We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8207c80 commit 58d6188Copy full SHA for 58d6188
src/OneScript.StandardLibrary/Processes/ProcessContext.cs
@@ -196,10 +196,14 @@ public int ProcessId
196
197
[ContextProperty("Имя", "Name")] public string Name => _p.ProcessName;
198
199
- [ContextMethod("Завершить","Stop")]
200
- public void Stop()
+ /// <summary>
+ /// Завершить процесс и, опционально, все его дочерние процессы.
201
+ /// </summary>
202
+ /// <param name="entireProcessTree">Булево. Завершить все дочерние процессы.</param>
203
+ [ContextMethod("Завершить", "Stop")]
204
+ public void Stop(bool entireProcessTree = false)
205
{
- _p.Kill();
206
+ _p.Kill(entireProcessTree);
207
}
208
209
public void Dispose()
0 commit comments