Sub shell_cmd(Command_in As String) As String
Dim Result As Int
Runner = File.Combine(File.DirInternalCache, "runner")
Command = File.Combine(File.DirInternalCache, "command")
File.WriteString(File.DirInternalCache, "runner", "su < " & Command)
File.WriteString(File.DirInternalCache, "command", Command_in & CRLF & "exit")
'Any commands via crlf, and exit at end
StdOut.Initialize
StdErr.Initialize
Result = Ph.Shell("sh", Array As String(Runner), StdOut, StdErr)
'Msgbox(StdOut.tostring, "")
Return StdOut.tostring
End Sub