Simplified GetUnixSymLinkDirectory function
This commit is contained in:
@@ -110,8 +110,8 @@ Public Class mgrProcesses
|
|||||||
prsls.StartInfo.RedirectStandardOutput = True
|
prsls.StartInfo.RedirectStandardOutput = True
|
||||||
prsls.StartInfo.CreateNoWindow = True
|
prsls.StartInfo.CreateNoWindow = True
|
||||||
prsls.Start()
|
prsls.Start()
|
||||||
slsinfo = prsls.StandardOutput.ReadToEnd().Split(New Char() {" "}, 12)
|
slsinfo = prsls.StandardOutput.ReadToEnd().Split(">")
|
||||||
Return slsinfo(slsinfo.Length - 1).TrimEnd
|
Return slsinfo(slsinfo.Length - 1).Trim
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Return String.Empty
|
Return String.Empty
|
||||||
End Try
|
End Try
|
||||||
|
|||||||
Reference in New Issue
Block a user