Skip to main content

Module free

Module free 

Source
Expand description

proc free - Free ports by killing their processes and verifying availability

Examples: proc free :3000 # Kill process on port 3000, verify port freed proc free :3000 :8080 # Free several ports: separate arguments proc free :3000 –yes # Skip confirmation proc free :3000 –wait 30 # Wait up to 30s for port to free

Commas still work (proc free :3000,:8080) but are deprecated.

Structs§

FreeCommand
Free port(s) by killing the process and verifying the port is available