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: 199
Joined: Tue Aug 05, 2014 10:07 am

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

Post by Googie85 » Tue Jan 09, 2024 6:40 am

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: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

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

Post by FourthWorld » Tue Jan 09, 2024 8:25 am

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: 23
Joined: Sat Sep 05, 2020 2:36 pm
Location: Anchorage, Alaska

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

Post by Lance » Tue Jan 09, 2024 4:16 pm

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

Return to “Windows”