Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Silently Run #10

Open
mwolfe1 opened this issue Feb 11, 2019 · 4 comments
Open

Silently Run #10

mwolfe1 opened this issue Feb 11, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@mwolfe1
Copy link

mwolfe1 commented Feb 11, 2019

Is there an option to get this to silently run? If not I would like to request it as a feature.

@velaar
Copy link
Contributor

velaar commented Feb 28, 2019

How silently? In my production environment, It runs through a vbs script to hide the console window. (Sorry, it's a windows limitation). If you like I can post the script here.

@danielhogg Is there a way to hide the console in C#?

@velaar velaar added the enhancement New feature or request label Feb 28, 2019
@mwolfe1
Copy link
Author

mwolfe1 commented Feb 28, 2019

I mostly just want to hide the window. If you could post it that would be great.

@CCUKAaron
Copy link

Can't help but concur with velaar. vbscript is your friend for that particular task..

@velaar
Copy link
Contributor

velaar commented Mar 1, 2019

Something as simple as:

strCommand = """\PathToMarksman\marksman.exe"""
Set objShell = CreateObject("WScript.Shell")
objShell.Run strCommand, 0, True

will do the job.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants