I have a small Python script written in 2.7 that sends a subprocess call to run another small python script written in 3.6 to export some maps. While the scripts appear to work in a stand a lone environment, nothing seems to happen when I add the call script to my model. It indicates that it was run, but nothing seems to be ran on the back in.
Here is my subprocess call script:
import subprocess,os
from subprocess import call
outPT = "C:/GIS/gisData/data/vector/sigacts/sigactsSIMS/output/DailyUpdate/provTripolitania.png"
exit_code = call('C://Program Files/ArcGIS/Pro/bin/Python/envs/arcgispro-py3/pythonw.exe C://GIS/gisData/toolsNscripts/exportMaps_PRO_Daily.py')
if os.path.isfile(outPT):
print "New file exists..."
else:
print "File not located..."

Does anyone know why it will not run when in modelbuilder?