launch an ".EXE (command line program)" silent.

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Googie85
Posts: 227
Joined: Tue Aug 05, 2014 10:07 am

launch an ".EXE (command line program)" silent.

Post by Googie85 »

Hiii Guys!!

I am trying to launch a command-line program without the "flash" of the CMD window. Any ideas? I have tried to use PowerShell (PowerShell.exe -WindowStyle hidden) with no luck.

Any replies are greatly received!!!

Googie.

Edit: The command-line program does not have any switches, /S etc...
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: launch an ".EXE (command line program)" silent.

Post by FourthWorld »

Does it help if you set the showConsoleWindows global property to false on startup?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Lance
Posts: 28
Joined: Sat Sep 05, 2020 2:36 pm

Re: launch an ".EXE (command line program)" silent.

Post by Lance »

I have had very good luck using "launch document tFileName" running on Windows 10. I use this line after the launch document command to show me errors. "if the result is not empty then answer the result"
Post Reply