Jesse,
I started with this: supprocess.run(['SHCS.py'])
Error messages in debug terminal
At line:1 char:17
+ supprocess.run(['SHCS.py'])
+ ~
Missing type name after '['.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingTypename
================================================================
Then I tried: filepath = os.path.dirname(os.path.realpath(__file__))
supprocess.run(['cmd', filepath + '\\SHCS.py'])
Error in debug terminal:
At line:1 char:17
+ supprocess.run(['cmd', filepath + '\\SHCS.py'])
+ ~
Missing type name after '['.
At line:1 char:22
+ supprocess.run(['cmd', filepath + '\\SHCS.py'])
+ ~
Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingTypename
=====================================================================
filepath = os.path.dirname(os.path.realpath(__file__))
When I use: supprocess.run([filepath + '\\SHCS.py'])
Error in debug terminal:
At line:1 char:25
+ supprocess.run([filepath + '\\SHCS.py'])
+ ~
Missing ] at end of attribute or type literal.
At line:1 char:39
+ supprocess.run([filepath + '\\SHCS.py'])
+ ~
Unexpected token ']' in expression or statement.
At line:1 char:39
+ supprocess.run([filepath + '\\SHCS.py'])
+ ~
Missing closing ')' in expression.
At line:1 char:40
+ supprocess.run([filepath + '\\SHCS.py'])
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : EndSquareBracketExpectedAtEndOfAttribute
===================================================================
And when I run: supprocess.run(['cmd', '/c', filepath + '\\SHCS.py'])
Error messages in debug terminal:
At line:1 char:17
+ supprocess.run(['cmd', '/c', filepath + '\\SHCS.py'])
+ ~
Missing type name after '['.
At line:1 char:22
+ supprocess.run(['cmd', '/c', filepath + '\\SHCS.py'])
+ ~
Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingTypename
==============================================================
Brad Bylls