prussian soluce

#1004
Raw
Author
Anonymous
Created
Jan. 29, 2024, 6:35 p.m.
Expires
Never
Size
1.6 KB
Hits
102
Syntax
None
Private
✗ No
13:32 <~socraticDev> prussian: we are piping the output of a command (json) to another command.  the second command complains it is unable to parse the JSON.  This issue only happens in the pipeline. On local machine or any servers it works. https://paste.winny.tech/1003/
13:32 <%dailybot> wtf you Azdo?? (#1003) — Silly Paste
13:33 <%prussian> hahahaha
13:33 <%prussian> I bet I know exactly what it is
13:33  * socraticDev farts
13:33 <%prussian> socraticDev for "powershell"
13:33 <%prussian> do this
13:33 <~socraticDev> this
13:33 <%prussian> cmd /C 'snyk test --json | snyk-delta'
13:34 <%prussian> you're welcome
13:34 <@bard> so there's no digital watch emoji it seems
13:34 <~socraticDev> so i should run this powersell script as a cmd job rather than a powershell job??
13:34 <%prussian> let me know when it works
13:34 <%prussian> yes
13:34 <~socraticDev> will do :))
13:34 <%prussian> powershit pipes ARE NOT BINARY CLEAN
13:34 <@bard> PowersHell
13:34 <%prussian> my guess is your tool is also not properly parsing json
13:34 <%prussian> as my understanding \r\n is valid in json
13:35 <%prussian> pwsh.exe 7.4.1 fixes a lot of this socraticDev 
13:35 <%prussian> it "detects" if both sides of the pipe are cmdlets and not verbs
13:36 <@bard> Bernie: how do the timers work on a casio? can you save multiple presets? like android (phone) and pebble
13:36 <%prussian> https://www.json.org/img/whitespace.png
13:36 <%dailybot> image/png, Size: 18.06 KB
13:36 <%prussian> look
13:36 <%Bernie> no, you only get 1 timer
13:36 <%prussian> json.org says CR is valid.
13:36 <@bard> darn
13:36 <%prussian> anyhow