Good afternoon, I am trying to open a .atsc file that runs a simple macro to automatically log the user in to accuterm.
I am using the following code:
from subprocess import Popen
p = Popen(["patmore_login.atsc"], stdout=PIPE, stderr=PIPE)
stdout, stderr = p.communicate()
But I get the following error:
File "C:\\Users\\mike\\AppData\\Local\\Programs\\Python\\Python313\\Lib\\subprocess.py", line 1548, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
# no special security
^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
cwd,
^^^^
startupinfo)
^^^^^^^^^^^^
OSError: [WinError 193] %1 is not a valid Win32 application
I can find no information for opening this type of file on google/stackexchange etc
Any help to go in the right direction would be greatly appreciated.
Kind regards
Mike Lankester
------------------------------
Mike Lankester
Rocket Forum Shared Account
------------------------------