| 1 |
"""Example demonstrating that calling run_pyscript recursively inside another Python script isn't allowed""" |
| 2 |
|
| 3 |
import os |
| 4 |
import sys |
| 5 |
|
| 6 |
app.cmd_echo = True |
| 7 |
my_dir = os.path.dirname(os.path.realpath(sys.argv[0])) |
| 8 |
app("run_pyscript {}".format(os.path.join(my_dir, "stop.py"))) |