Rev 9374 | Rev 9377 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9374 | Rev 9375 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | import os |
5 | import os |
Line 6... | Line 6... | ||
6 | 6 | ||
Line 7... | Line 7... | ||
7 | from lib.logging import log |
7 | from lib.logging import log |
- | 8 | ||
8 | 9 | def generate_script_executing_script(script_to_execute): |
|
9 | def generate_script_executing_script(script_to_execute): |
10 | script_to_execute = script_to_execute.replace("\\", "\\\\") |
10 | contents = "" |
11 | contents = "" |
11 | contents += "from importlib.machinery import SourceFileLoader\n" |
12 | contents += "from importlib.machinery import SourceFileLoader\n" |