running external application or DTS
BPettersen at NAREX.com
Mon Jan 6 18:44:42 CET 2003
> From: Yar3k [mailto:programisci_listy at muratorDOTcom.pl]
> I need to run DTS command on NT Server using Python scripts.
> I am afraid there is no dedicated library for such task, so I
> have to run external application dtsrun.exe. The problem is,
> I have no idea how to execute it and pass all parameters. I
> would like to catch exit code as well.
> I need any working example...
Check section 6.1.5 of the library reference. You're most likely going
to need os.system() or one of the os.popen?() functions. Let us know if
you can't figure it out from there.
More information about the Python-list