You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
516 B
30 lines
516 B
1 month ago
|
|
||
|
|
||
|
|
||
|
Include "config.vbs"
|
||
|
|
||
|
Sub Include(sInstFile)
|
||
|
Dim oFSO, f, s
|
||
|
Set oFSO = CreateObject("Scripting.FileSystemObject")
|
||
|
Set f = oFSO.OpenTextFile(sInstFile)
|
||
|
s = f.ReadAll
|
||
|
f.Close
|
||
|
ExecuteGlobal s
|
||
|
End Sub
|
||
|
|
||
|
Function TailLog()
|
||
|
|
||
|
Set WshShell = CreateObject("WScript.Shell")
|
||
|
|
||
|
cmd = ssh + " -i "+key_pri+" -l "+User+" "+Ip + " "
|
||
|
cmd = cmd + "cd "+RemotePath+"/build/build-ios-output;"
|
||
|
cmd = cmd + "tail -f archive_log.txt"
|
||
|
|
||
|
|
||
|
WshShell.Run cmd,9,true
|
||
|
|
||
|
End Function
|
||
|
|
||
|
|
||
|
TailLog()
|