Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI Version #1

Open
g-pane opened this issue Mar 20, 2023 · 3 comments
Open

CLI Version #1

g-pane opened this issue Mar 20, 2023 · 3 comments
Labels
good first issue Good for newcomers

Comments

@g-pane
Copy link

g-pane commented Mar 20, 2023

Hi,
Is possible to have a commandline version (x64 and x86) without interface?
Thanks

@fafalone
Copy link
Owner

This should already be working with the current version. If you run it from the command line, specifying a program as an argument, e.g.

RunAsTI64.exe "C:\My Folder\MyProgram.exe"

It should just run the program as TI without showing the GUI.

If this isn't working for you, let me know.

@fafalone fafalone added the good first issue Good for newcomers label Mar 21, 2023
@g-pane
Copy link
Author

g-pane commented Mar 21, 2023

It work, but you can't add and argument to the MyProgram.exe

@fafalone
Copy link
Owner

Arguments shouldn't work any differently... all it's doing is calling the LaunchAsTI function with the command line text instead of the TextBox text; can you confirm the arguments work as expected from the GUI?

It uses the built in system APIs for parsing the command line, which sometimes are less than intuitive... if the path to your program has spaces in it, the path must be in quotes with the arguments outside the quotes...

RunAsTI64.exe "C:\My Folder\MyProgram.exe" -arg1 -arg2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants