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.
 
 
 
 
 
 

34 lines
591 B

# encoding: utf-8
import os
import sys
import stat
from pathlib import Path
import time
import re
import socket
import task
import tools
import log_tail
if __name__ == '__main__':
if (2 > len(sys.argv)):
print("args err!")
os._exit(-1)
local_name = sys.argv[1]
print("local_name : %s" % local_name)
sys.stdout.flush()
if False == Path(local_name).is_file():
print("out put is not exist, %s" % local_name)
sys.stdout.flush()
os._exit(-2)
print("out put is exist, %s" % local_name)
sys.stdout.flush()
os._exit(0)