AnsweredAssumed Answered

Toolbox script tool to call a 2nd script

Question asked by jhead@lakeworth on Nov 30, 2018
Latest reply on Dec 4, 2018 by jhead@lakeworth

I have a basic Script Tool that works 100% of the time. 

I recently wanted to add a final function that would call a 2nd python script after the script tool is completed. The 2nd script is not a toolbox script just a standalone python file. 

 

I used:

os.system('script.py')

I get no errors after running the script with the new function but it doesn't appear the 2nd script is being called successfully. 

 

note: I did put the script.py file in the same directory as the toolbox script

Is this a limitation to ArcGIS Toolbox scripts or am I missing something? 

Outcomes