ATOUTFOX
COMMUNAUTÉ FRANCOPHONE DES PROFESSIONNELS FOXPRO
Visual FoxPro : le développement durable

Forum AtoutFox : Re: Exécuter un script python depuis VFP   

Sujet

rss Flux RSS des derniers messages

Vous devez vous identifier pour pouvoir poser une question ou répondre.

mar. 20 juin 2017, 18h33

FoxInCloud (Th. Nivelet)
France France

atoutfox.public.association

Re: Exécuter un script python depuis VFP

D'après l'aide,
run utilise cmd.exe
run /n utilise ShellExecute()

The RUN command (without /N parameter) uses the following sequence order to determine which program to use when executing the specified RUN command:

Named PIF file - if the program you specify in RUN does not have an extension, Visual FoxPro first looks for a Program Information File (PIF) with the name you specify. If the PIF file is found, the program specified in the PIF is executed with the PIF parameters.

FOXRUN.PIF file - if a Named PIF file can not be found, the RUN command searches for the default Foxrun.pif fileIf this file is found, the program specified in Foxrun.pif is executed with the PIF parameters.

COMSPEC Environment Variable - if no PIF file is found which meets the above criteria, the RUN command uses the SHELL program specified by the Windows operating system COMSPEC environment variable. This variable typically points to Cmd.exe, however, in older operating systems such as Windows 98, it will point to Command.com.



Permalink : http://www.atoutfox.org/nntp.asp?ID=0000018310
20 088 messages dans le forum • Liste complète des messages

Publicité

Les pubs en cours :

www.atoutfox.org - Site de la Communauté Francophone des Professionnels FoxPro - v3.4.0 - © 2004-2024.
Cette page est générée par un composant COM+ développé en Visual FoxPro 9.0-SP2-HF3