blob: b88ba5a528efb9bc2d81cf7879926e554e89fcc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env python
# coding=utf-8
# flake8: noqa F821
"""
Example demonstrating that calling run_pyscript recursively inside another Python script isn't allowed
"""
import os
import sys
app.cmd_echo = True
my_dir = os.path.dirname(os.path.realpath(sys.argv[0]))
app('run_pyscript {}'.format(os.path.join(my_dir, 'stop.py')))
|