Files
py-security-audit-tool/test2fun.py

22 lines
304 B
Python
Raw Permalink Normal View History

2014-12-15 22:26:13 -08:00
#!env python
#coding=utf-8
#
# Author: liaoxinxi@
#
# Created Time: Tue 02 Dec 2014 05:48:28 PM GMT-8
#
# FileName: test2fun.py
#
# Description:
#
# ChangeLog:
def exe2fun_cmd(cmd1):
r = exe_file(cmd1)
return r
def exe_file(cmd):
result = os.system(cmd)
return result