doors/simulator.sh
Anna Schumaker 3ef9283d6f simulator: Add a function for reloading the simulator
This lets me update the doors.py file without needing to exit the Python
interpreter.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-23 10:20:10 -04:00

4 lines
85 B
Bash
Executable File

#!/bin/bash
python -ic "from simulator import *
def reload(): reload_sim(globals())"