Skip to content

Commit

Permalink
fix Execute
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Aug 2, 2024
1 parent 6aa86e8 commit 2e546ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NewLife.Core/Extension/ProcessHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ public static Process ShellExecute(this String fileName, String? arguments = nul
/// <param name="returnError">没有标准输出时,是否返回错误内容。默认false</param>
/// <param name="outputEncoding">输出字符编码</param>
/// <returns></returns>
public static String? Execute(this String cmd, String? arguments = null, Int32 msWait = 0, Boolean returnError = false, Encoding? outputEncoding = null)
public static String? Execute(this String cmd, String? arguments, Int32 msWait, Boolean returnError, Encoding? outputEncoding)
{
try
{
Expand Down

0 comments on commit 2e546ee

Please sign in to comment.