Repository navigation
FAQ
Chamoswor edited this page Oct 19, 2025
·
1 revision
- Windows PowerShell vs PowerShell 7? Both can work; 7+ is recommended.
-
How to run commands asynchronously? Use
run_async()to get aFuturefor non-blocking execution. - Can I keep state between commands? Yes; the backend process persists session state until stopped.
-
Where is the session saved?
save_session()writes an XML snapshot; seesession_path. -
What about timeouts? Use the
timeoutparameter per call or set a default viatimeout_seconds. -
How to handle long-running commands? Consider
auto_restart_on_timeout=Trueto recover state after timeouts. -
What if PowerShell is not found? Ensure
pwsh/powershellis on PATH or setpowershell_path. - How to fix ImportError for compiled extensions? Ensure the wheel matches your OS/arch/Python; try a clean venv and reinstall.
-
How to deal with encoding issues?
set_UTF8=Trueis default; disable if you need legacy codepages.
- Home
- Getting started
- Installation
- Quickstart
- Usage
- API Overview
- Synchronous Execution
- Asynchronous Execution
- Running Scripts
- Zero Copy Bridge
- generate_psobject
- make_proxy
- Error Handling
- Configuration
- Security Notes
- Performance Tips
- Help
- Troubleshooting
- FAQ
- Project
- Changelog
- Design & Architecture
- Benchmarks