#!/usr/bin/python
#
# LICENSE: See LICENSE file.
#
# WARNING: The Windows/Linux iface by is EXPERIMENTAL and has nothing to do
#          with good coding, security, etc. USE AT YOUR OWN RISK.
#
import ifaceclientlib, sys
ifaceclientlib.LOG_LEVEL = ifaceclientlib.LOG_WARNING

# Check args.
if len(sys.argv) != 2:
  print "usage: if-l-cmd.py <cwd>"
  sys.exit(1)

# Invoke.
cwd = sys.argv[1]
print ifaceclientlib.Invoke("iface-l-cmd", cwd)


#!/usr/bin/python
#
# LICENSE: See LICENSE file.
#
# WARNING: The Windows/Linux iface by is EXPERIMENTAL and has nothing to do
#          with good coding, security, etc. USE AT YOUR OWN RISK.
#
import ifaceclientlib, sys
ifaceclientlib.LOG_LEVEL = ifaceclientlib.LOG_WARNING

# Check args.
if len(sys.argv) != 2:
    print "usage: if-openurl.py <url>"
    sys.exit(1)

# Invoke.
url = sys.argv[1]
print ifaceclientlib.Invoke("iface-openurl", url)
Beispiel #3
0
#!/usr/bin/python
#
# LICENSE: See LICENSE file.
#
# WARNING: The Windows/Linux iface by is EXPERIMENTAL and has nothing to do
#          with good coding, security, etc. USE AT YOUR OWN RISK.
#
import ifaceclientlib
print "Stopping WinLin iface: %s" % (str(ifaceclientlib.Invoke("__shutdown")))
#!/usr/bin/python
#
# LICENSE: See LICENSE file.
#
# WARNING: The Windows/Linux iface by is EXPERIMENTAL and has nothing to do
#          with good coding, security, etc. USE AT YOUR OWN RISK.
#
import ifaceclientlib, sys
ifaceclientlib.LOG_LEVEL = ifaceclientlib.LOG_WARNING

# Check args.
if len(sys.argv) != 2:
    print "usage: if-testpath.py <path>"
    sys.exit(1)

# Invoke.
path = sys.argv[1]
print ifaceclientlib.Invoke("translate-path", path)
Beispiel #5
0
#!/usr/bin/python
#
# LICENSE: See LICENSE file.
#
# WARNING: The Windows/Linux iface by is EXPERIMENTAL and has nothing to do
#          with good coding, security, etc. USE AT YOUR OWN RISK.
#
import ifaceclientlib
print ifaceclientlib.Invoke("iface-info")

Beispiel #6
0
#!/usr/bin/python
#
# LICENSE: See LICENSE file.
#
# WARNING: The Windows/Linux iface by is EXPERIMENTAL and has nothing to do
#          with good coding, security, etc. USE AT YOUR OWN RISK.
#
import ifaceclientlib, sys, os
ifaceclientlib.LOG_LEVEL = ifaceclientlib.LOG_WARNING

# Check args.
if len(sys.argv) < 2:
    print "usage: if-l-runt.py <cmd> <args>"
    sys.exit(1)

# Invoke.
cmd = sys.argv[1]
args = " ".join(sys.argv[2:])
cwd = ifaceclientlib.Invoke("translate-path", os.getcwd())
print ifaceclientlib.Invoke("iface-l-runt", cwd, cmd, args)