Changeset 5b95591
- Timestamp:
- 04/28/12 00:04:23 (14 months ago)
- Branches:
- master
- Children:
- 415970e
- Parents:
- c484fad
- git-author:
- Martin Kolman <martin.kolman@…> (04/28/12 00:04:23)
- git-committer:
- Martin Kolman <martin.kolman@…> (04/28/12 00:04:23)
- File:
-
- 1 edited
-
modrana.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modrana.py
r918171b r5b95591 24 24 25 25 # module folder name 26 import subprocess 27 26 28 modulesFolder = 'modules' 27 29 import sys … … 766 768 if __name__ == "__main__": 767 769 768 print(" == modRana Starting == ") 769 770 program = ModRana() 770 # check if reload has been requested 771 772 reloadArg = "--reload" 773 if len(sys.argv)>=3 and sys.argv[1] == reloadArg: 774 # following argument is path to the modRana main class we want to reload to, 775 # optionally followed by any argument for the main class 776 print(" == modRana Reloading == ") 777 reloadPath = sys.argv[2] 778 callArgs = [reloadPath] 779 callArgs.extend(sys.argv[3:]) 780 subprocess.call(callArgs) 781 782 else: 783 print(" == modRana Starting == ") 784 785 program = ModRana() 786 787
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/gps_navigace/chrome/site/nlp-logo.png)