GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
ExeRun can't handle re-directed outputs.
ExeRun can't handle re-directed outputs.
Iniciado por Arthur Rees, out., 30 2005 12:52 PM - 1 resposta
Conecte-se…
Arthur Rees
#1
Publicado em outubro, 30 2005 - 12:52 PM
Hi
I am attempting to execute an external .exe file (myExe) using ExeRun command. This executable normally operates on a source file and outputs results to the console window from which it is called. This output can be re-directed to a file using the MSDOS re-direction operator '>'.
When I attempt to execute this using ExeRun, it doesn't work i.e. the output_file is not produced. See code fragment below.
str = myExe + source_file + " > " + output_file
codret = ExeRun(str, exeIconize, exeWait)
Any ideas?
Arthur Rees
Denunciar
0
0
Fabrice Harari
#2
Publicado em outubro, 30 2005 - 4:55 PM
I don't have your exact command line in the text of your request, so I m' not sure that my 'solution' will work for you, but it looks like you could be in in the case of 'long name with spaces' and you need to put part or all of your string between quotes (see WD help file for that case)...
Hope this help
Fabrice Harari
http://www.fabriceharari.com
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto