comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » SPAWN Problems under Windows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
SPAWN Problems under Windows [message #52131] Fri, 05 January 2007 14:39
aberte@gmail.com is currently offline  aberte@gmail.com
Messages: 8
Registered: December 2006
Junior Member
Hi everybody,

here's my problem:

cmd = '"D:\Media\Facu\Sistemi Telerilevamento Laboratorio\Progetto
IDL\MapMatch\eseguibili-test\normal\region_growing.exe " '

a = '"D:\Media\Facu\Sistemi Telerilevamento Laboratorio\Progetto
IDL\MapMatch\eseguibili-test\normal\Image.raw " '

b = '"D:\Media\Facu\Sistemi Telerilevamento Laboratorio\Progetto
IDL\MapMatch\eseguibili-test\normal\TrueObj.raw " '

c = '"1024 " '

d = '"1024 " '

e = '"D:\Media\Facu\Sistemi Telerilevamento Laboratorio\Progetto
IDL\MapMatch\eseguibili-test\normal\seed.txt" '

f = '"normal" '

I put complete path of files, because my routine is using them the way
I declared here.

So i do the following:

params = a + b + c + d +e+ f

spawn, cmd, /LOG_OUTPUT ; works!
spawn, [cmd,params], /LOG_OUTPUT ; does not work :(

Why? Is lentgh of strings important?
(Another thing, I tried to do the following: all string, cmd + a +b
+... I copied to a test.bat file, and run it directly from windows, and
it worked)
[Message index]
 
Read Message
Previous Topic: Re: Recorrido a Espa�a
Next Topic: Re: SPAWN Problems under Windows

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 07:54:00 PDT 2025

Total time taken to generate the page: 0.15162 seconds