mirror of https://github.com/cutefishos/appmotor
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
366 B
Python
16 lines
366 B
Python
#!/usr/bin/env python
|
|
import os
|
|
import time
|
|
import commands
|
|
|
|
#Launching application from the script
|
|
os.system("/usr/share/applauncherd-testscripts/signal-forward/fala_sf_wrt.sh &")
|
|
|
|
time.sleep(2)
|
|
st, op = commands.getstatusoutput("pgrep fala_ft_hello")
|
|
|
|
#Killing application with a signal 11 (Segmentation Fault)
|
|
commands.getoutput("kill -10 %s" %op)
|
|
time.sleep(2)
|
|
|