I am having a problem firing off a DOS app. To run a SQL 'SSIS' package, you use the following syntax:
C:>dtexec /f "PACKAGENAME.dtsx", the quotes are required.
I have tried os.system, os.execlp, os.execl and none of them seem to work.
os.system causes an error with 'dtexec' saying the package isn't prepared properly but ececuting it from the command line works.
using the os.exec* variants give me 'file cannot be found' in so.py ( func(fullname, *argrest))
when using the following
args = ['/f', '"IMPORT.dtsx"']
os.execlp('dtexec ',*args)
What is the proper way to run a command line program from inside Python?