diff options
Diffstat (limited to 'launcher.py')
-rw-r--r-- | launcher.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/launcher.py b/launcher.py deleted file mode 100644 index 544dfc9..0000000 --- a/launcher.py +++ /dev/null @@ -1,17 +0,0 @@ -import os -from subprocess import * - -print(os.getcwd()) - -tar_fil = os.path.join(os.getcwd(),'source_file.r') -print(tar_fil) -if os.path.exists(tar_fil): - rscript_path = 'C:/Program Files/R/R-4.2.2/bin/Rscript.exe' - print(os.path.exists(rscript_path)) - rscript_cmd = 'Rscript' - run( - f'{rscript_cmd} "{tar_fil}"', - cwd = os.getcwd(), - start_new_session = True - ) - |