PDA

View Full Version : Executing program with #run



NewsArchive
01-07-2009, 02:00 AM
Hi Friedrich,

I put a #run test.exe into a script with the Post-compile on. When I
compile the log says:

Process post compilation tasks...
Executing... test.exe
OK

That's fine, but I have a problem with that OK since there is not a TEST.EXE
anywhere in sight<g> I would have expected something like "EXE Not found"
or something. To make sure it wasn't finding some test.exe somewhere on the
PATH, I changed the name to abcdezdgasces.exe which should be far less
likely to be found - same thing<g>

I'm not sure it should post a compile error, but it should - IMO - indicate
the darn exe wasn't found and certainly not run;)

Best regards,

--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
01-07-2009, 02:01 AM
Did you try this code (from the Help) ?

#run c:\test\test.exe

#ifdef SB_ERROR Not Equals "0" Then

#msg "error"

#halt

#else

#msg "no error"

#end

Jane Fleming

NewsArchive
01-07-2009, 02:02 AM
Hi Jane,

> Did you try this code (from the Help) ?
>
> #run c:\test\test.exe

No, I wasn't that far - just testing the water;)

Best regards,

--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
01-07-2009, 02:02 AM
Who reads help?<g>

Jeff Slarve

NewsArchive
01-07-2009, 02:03 AM
Girls !

Jane Fleming

NewsArchive
01-07-2009, 02:03 AM
> Girls !

That is such a chick response<g>

:-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------