Forum: Forums topas RSS
Topas 6, running tc via Python subprocess
kennemar #1
Member since Sep 2019 · 1 post · Location: Trondheim, Norway
Group memberships: Members
Show profile · Link to this post
Subject: Topas 6, running tc via Python subprocess
Hello, I've been trying to run Topas 6 via Python subprocess and it's returning a non-0 exit code, and doesn't produce an output. It is still running in the background though, and produces a refined .out file.
When I run the same command directly from the command prompt it does produce the output, but also returns an error code if I use "echo %ERRORLEVEL%".
Running Topas 5 in the same way doesn't give me any issues.
johnsoevans (Administrator) #2
User title: John Evans
Member since Aug 2009 · 241 posts
Group memberships: Administrators, Members
Show profile · Link to this post
We've used python to control topas v6 in the past without issues, so I'm not aware of any fundamental issues.  The tutorial at… used this approach.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Not logged in. · Lost password · Register
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-09-28, 12:07:46 (UTC +00:00)