Created
July 19, 2018 18:09
-
-
Save optik-aper/97f8fab8c15d3153738ffd94ed8b284d to your computer and use it in GitHub Desktop.
Error message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import osproc, streams, strutils, os | |
let l = "" | |
let ps = startProcess("/sbin/iwlist", "", ["wlp2s0", "scan"]) | |
let s = outputStream(ps) | |
while s.readLine(l): | |
echo(l) |
Author
optik-aper
commented
Jul 19, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment