Listing dir

This commit is contained in:
Caleb Herpin 2021-07-28 11:21:10 -05:00
parent 5253d7174b
commit 676c0fe3a0

View File

@ -68,6 +68,12 @@ trick.exec_set_freeze_command(True)""")
build_cmd = f"echo \"cd {pathToSim} && {params.get_trick_home()}/bin/trick-CP\" | /bin/bash"
print("....................Running:", build_cmd)
subprocess.run(build_cmd, shell=True)
print("Directory listing:")
os.listdir(".")
cmd = "echo \"ls -latrhF `find /__w/trick/trick/trick_sims`\" | /bin/bash"
print("....................Running:", cmd)
subprocess.run(cmd, shell=True)
# pause("After build before start")
if params.get_start_sim():