Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SeidChr/RunHiddenConsole
Created executable can be renamed to powershellw.exe or pwshw.exe and put next to the corresponding assembly. Calls to the added assembly will be forwarded to the console without creating a window.
https://github.com/SeidChr/RunHiddenConsole
Last synced: 5 days ago
JSON representation
Created executable can be renamed to powershellw.exe or pwshw.exe and put next to the corresponding assembly. Calls to the added assembly will be forwarded to the console without creating a window.
- Host: GitHub
- URL: https://github.com/SeidChr/RunHiddenConsole
- Owner: SeidChr
- License: mpl-2.0
- Created: 2018-11-15T12:01:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-20T08:09:30.000Z (about 2 years ago)
- Last Synced: 2024-08-02T17:31:40.443Z (3 months ago)
- Language: C#
- Size: 43.9 KB
- Stars: 87
- Watchers: 5
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# RunHiddenConsole
Created executable can be renamed to powershellw.exe or pwshw.exe (or any other console-flashing-window)
and put next to the corresponding assembly. Calls to the added assembly will be sent to a new instance of
the target assembly, which is explicitly started without creating a window. Thus these flashing windows
should be avoided.You can find all the magic in Programm.cs
## Logging
I have added a (cleaned up) copy of simple log (https://www.codeproject.com/Tips/585796/Simple-Log) for
debugging puropse. When there is a crash in the tool you should find a log-file next to your *w.exe called
*w.exe..log which contains some hopefully usefull messages.If you need to change the log level of the tool, you can add a "*w.exe.config", and with the default values
as seen in app.config in the repository. Then just update the LogLevel app-setting as you desire.
## Future Points
- Input stream from file and output stream to file, if requested.
Please tell me how you would like to use this. It would probably require a config file alongside the assembly to configure which parameters define the inputs and outputs
- Windows Eventlog logging.
Might be required by som orgs. But no complaints so far.
# Keywords
silent, script, hidden, console, window, command, commandline, hide, pwsh, cmd, powershell, bash, pwshw, cmdw, powershellw, exe