https://github.com/testdriverai/cliipc
https://github.com/testdriverai/cliipc
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/testdriverai/cliipc
- Owner: testdriverai
- Created: 2024-01-03T02:54:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T03:55:19.000Z (about 2 years ago)
- Last Synced: 2025-03-16T02:49:38.922Z (11 months ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CLIIPC
This package is intended to be used to get around Windows session isolation. Windows Session Isolation prevents GUI apps from being spawned by a service.
See these issues:
- https://stackoverflow.com/questions/16366002/bypass-windows-session-isolation-display-warning-message-in-user-session-from-s/16673867#16673867
- https://stackoverflow.com/questions/16366002/bypass-windows-session-isolation-display-warning-message-in-user-session-from-s/16673867#16673867
# Install Globally
```
npm install cliipc -g
```
## Run server as a user
This is a special command that starts a IPC server. It will execute arbitrary commands via `spawn`. This process should be run as a normal user.
```
cliipc start-server
```
## Run commands as client:
Once the server is running, prepend any cli command with `cliipc` to run it within the user context.
```
cliipc ls
```
Returns to `stdout`:
```
client.js
main.js
node_modules
package-lock.json
package.json
server.js
```