Logs: liberachat/#kmonad
| 2022-02-02 05:53:54 | → | contessa joins (~contessa@2001:470:69fc:105::a9f) |
| 2022-02-02 05:53:54 | → | dnzm joins (~dnzm@2001:470:69fc:105::97e) |
| 2022-02-02 05:53:54 | → | WolfIcefang[m] joins (~wolficefa@2001:470:69fc:105::a3f1) |
| 2022-02-02 05:53:54 | → | nivpgir[m] joins (~nivpgirma@2001:470:69fc:105::f5b2) |
| 2022-02-02 05:53:54 | → | ryanprior[m] joins (~ryanprior@2001:470:69fc:105::1742) |
| 2022-02-02 05:53:54 | → | Tisoxin joins (~ikosit@user/ikosit) |
| 2022-02-02 05:53:54 | → | form_feed joins (~form_feed@user/f/x-7101985) |
| 2022-02-02 05:53:54 | → | artefact joins (~artefact@137.185.137.88.rev.sfr.net) |
| 2022-02-02 05:53:54 | → | fnstudio joins (b9bb20a032@2604:bf00:561:2000::3a3) |
| 2022-02-02 05:53:54 | → | ElKowar joins (~ElKowar@srv-fin.xware-gmbh.de) |
| 2022-02-02 05:53:54 | → | lambdabot joins (~lambdabot@haskell/bot/lambdabot) |
| 2022-02-02 05:53:54 | → | sshine joins (~simon@hubris.eta.solutions) |
| 2022-02-02 05:54:24 | → | wz1000 joins (~zubin@static.11.113.47.78.clients.your-server.de) |
| 2022-02-02 05:54:24 | → | drdo joins (~drdo@roach0.drdo.eu) |
| 2022-02-02 07:51:17 | → | neurocyte0917090 joins (~neurocyte@IP-212232083107.dynamic.medianet-world.de) |
| 2022-02-02 07:51:18 | × | neurocyte0917090 quits (~neurocyte@IP-212232083107.dynamic.medianet-world.de) (Changing host) |
| 2022-02-02 07:51:18 | → | neurocyte0917090 joins (~neurocyte@user/neurocyte) |
| 2022-02-02 08:19:37 | × | neurocyte0917090 quits (~neurocyte@user/neurocyte) (Ping timeout: 256 seconds) |
| 2022-02-02 08:21:48 | → | neurocyte0917090 joins (~neurocyte@IP-212232083107.dynamic.medianet-world.de) |
| 2022-02-02 08:21:48 | × | neurocyte0917090 quits (~neurocyte@IP-212232083107.dynamic.medianet-world.de) (Changing host) |
| 2022-02-02 08:21:48 | → | neurocyte0917090 joins (~neurocyte@user/neurocyte) |
| 2022-02-02 10:08:35 | <nivpgir[m]> | <Solid> "nivpgir: presumably you can just..." <- true, I forgot that was an option😅 |
| 2022-02-02 10:08:35 | <nivpgir[m]> | still didn't help though ☹️ |
| 2022-02-02 10:15:33 | <Solid> | I wish I had a Windows machine to debug this further :/ (well, I don't, really, but you get the idea ;) |
| 2022-02-02 10:16:25 | <Solid> | It's weird since we essentially directly call createProcess ( https://hackage.haskell.org/package/process-1.6.13.2/docs/System-Process.html#v:createProcess ), which definitely works (or rather _should work_) on Windows systems |
| 2022-02-02 10:39:38 | <nivpgir[m]> | yeah I feel the same TBH |
| 2022-02-02 10:39:40 | <nivpgir[m]> | I wish I didn't have to jump all these loops just to get a comfortable setup on an operating system I'd rather not use |
| 2022-02-02 10:39:53 | <nivpgir[m]> | but I'm forced to use windows for work |
| 2022-02-02 10:42:07 | <nivpgir[m]> | anyways I dug up a bit and found that the string is eventually passed on to [commandToProcess](https://ghc.gitlab.haskell.org/ghc/doc/libraries/process-1.6.13.2/src/System.Process.Posix.html#commandToProcess), |
| 2022-02-02 10:43:25 | <nivpgir[m]> | there's a comment over there which explains how it is being handled on windows, but I don't see the code that actually does it |
| 2022-02-02 10:43:47 | <nivpgir[m]> | * that the command string is |
| 2022-02-02 10:47:35 | <Solid> | nivpgir[m]: you're in the System.Process.Posix module there, I reckon you want System.Process.Windows |
| 2022-02-02 10:50:14 | <Solid> | https://github.com/haskell/process/blob/master/System/Process/Windows.hsc#L350 right around there |
| 2022-02-02 10:51:23 | <nivpgir[m]> | thanks, I couldn't find it through the docs' url |
| 2022-02-02 10:51:49 | <Solid> | Yeah Haddock has some problem with .hsc modules sometimes |
| 2022-02-02 10:53:42 | nivpgir[m] | sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/c7a8af2b585775d15968b213a3f08f6078645d68 |
| 2022-02-02 10:54:27 | <Solid> | :D |
| 2022-02-02 10:54:28 | <nivpgir[m]> | * ```haskell... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/b2ca48f4f07bb1545c4c69c58d33a33c37a60d73) |
| 2022-02-02 10:54:42 | <nivpgir[m]> | guess I need to figure out what were the "quoting issues"? |
| 2022-02-02 10:55:34 | <Solid> | I feel like something would have been done by now if Windows users literally couldn't run any commands from Haskell programs :o |
| 2022-02-02 10:57:24 | <nivpgir[m]> | I wouldn't be surprised if it `ShellCommand` isn't used very often on windows in favour of `RawCommand`, and when it does and that bug appears, people just fallback to `RawCommand` anyways |
| 2022-02-02 10:57:53 | <nivpgir[m]> | but I might just be desperate to believe that's the bug |
| 2022-02-02 17:12:32 | → | Guest76 joins (~Guest76@2600:1700:e48:1050:d1c9:1d4:b0ae:2a6f) |
| 2022-02-02 17:13:28 | × | Guest76 quits (~Guest76@2600:1700:e48:1050:d1c9:1d4:b0ae:2a6f) (Client Quit) |
| 2022-02-02 17:24:11 | × | neurocyte0917090 quits (~neurocyte@user/neurocyte) (Ping timeout: 256 seconds) |
| 2022-02-02 17:58:48 | <nivpgir[m]> | well... I guess it not fixed: |
| 2022-02-02 17:58:48 | <nivpgir[m]> | https://github.com/haskell/process/issues/51 |
| 2022-02-02 17:59:24 | <nivpgir[m]> | and the windows cmd quotation rabbit hole goes deeper than I thought: |
| 2022-02-02 17:59:24 | <nivpgir[m]> | https://github.com/purescript/spago/issues/635#issuecomment-629684129 |
| 2022-02-02 18:00:03 | <nivpgir[m]> | I guess I'll finish work soon and try to compile a version that uses `RawCommand` instead |
| 2022-02-02 18:00:24 | <nivpgir[m]> | goddamn windows... |
| 2022-02-02 18:06:47 | <Solid> | wtf |
| 2022-02-02 18:06:52 | <Solid> | well that's not good |
| 2022-02-02 18:07:22 | <Solid> | nivpgir[m]: it would be extremely great if you could submit a PR that fixes this on Windows should you get it running |
| 2022-02-02 18:08:17 | <nivpgir[m]> | ATM I plan to get it working for windows, I don't have the capacity to fix it in a cross platform way |
| 2022-02-02 18:09:34 | <nivpgir[m]> | although the fix for `System.Process` seems pretty simple as well, but I don't know how to create the tests for it. |
| 2022-02-02 18:11:51 | <Solid> | Tbh, for something like this (upstream issue that will _hopefully_ get fixed at some point) I would be fine with just adding a bit of CPP |
| 2022-02-02 19:41:02 | → | boxscape_ joins (~boxscape_@p4ff0b9d5.dip0.t-ipconnect.de) |
| 2022-02-02 21:11:48 | × | wz1000 quits (~zubin@static.11.113.47.78.clients.your-server.de) (*.net *.split) |
| 2022-02-02 21:11:48 | × | drdo quits (~drdo@roach0.drdo.eu) (*.net *.split) |
| 2022-02-02 21:11:49 | × | Bayes quits (~Bayes@user/bayes) (*.net *.split) |
| 2022-02-02 21:11:50 | × | ryanprior[m] quits (~ryanprior@2001:470:69fc:105::1742) (*.net *.split) |
| 2022-02-02 21:11:50 | × | WolfIcefang[m] quits (~wolficefa@2001:470:69fc:105::a3f1) (*.net *.split) |
| 2022-02-02 21:11:51 | × | dnzm quits (~dnzm@2001:470:69fc:105::97e) (*.net *.split) |
| 2022-02-02 21:11:51 | × | nivpgir[m] quits (~nivpgirma@2001:470:69fc:105::f5b2) (*.net *.split) |
| 2022-02-02 21:11:54 | × | ElKowar quits (~ElKowar@srv-fin.xware-gmbh.de) (*.net *.split) |
| 2022-02-02 21:11:55 | × | lambdabot quits (~lambdabot@haskell/bot/lambdabot) (*.net *.split) |
| 2022-02-02 21:11:55 | × | sshine quits (~simon@hubris.eta.solutions) (*.net *.split) |
| 2022-02-02 21:11:55 | × | contessa quits (~contessa@2001:470:69fc:105::a9f) (*.net *.split) |
| 2022-02-02 21:11:55 | × | fnstudio quits (b9bb20a032@2604:bf00:561:2000::3a3) (*.net *.split) |
| 2022-02-02 21:11:57 | × | form_feed quits (~form_feed@user/f/x-7101985) (*.net *.split) |
| 2022-02-02 21:11:57 | × | artefact quits (~artefact@137.185.137.88.rev.sfr.net) (*.net *.split) |
| 2022-02-02 21:11:58 | × | Tisoxin quits (~ikosit@user/ikosit) (*.net *.split) |
| 2022-02-02 21:11:59 | × | meain quits (~meain@2001:470:69fc:105::2db) (*.net *.split) |
| 2022-02-02 21:14:07 | → | fnstudio joins (b9bb20a032@2604:bf00:561:2000::3a3) |
| 2022-02-02 21:14:07 | → | contessa joins (~contessa@2001:470:69fc:105::a9f) |
| 2022-02-02 21:14:08 | → | drdo joins (~drdo@roach0.drdo.eu) |
| 2022-02-02 21:14:08 | → | wz1000 joins (~zubin@static.11.113.47.78.clients.your-server.de) |
| 2022-02-02 21:14:08 | → | ryanprior[m] joins (~ryanprior@2001:470:69fc:105::1742) |
| 2022-02-02 21:14:08 | → | WolfIcefang[m] joins (~wolficefa@2001:470:69fc:105::a3f1) |
| 2022-02-02 21:14:08 | → | meain joins (~meain@2001:470:69fc:105::2db) |
| 2022-02-02 21:14:08 | → | ElKowar joins (~ElKowar@srv-fin.xware-gmbh.de) |
| 2022-02-02 21:14:08 | → | Bayes joins (~Bayes@user/bayes) |
| 2022-02-02 21:14:08 | → | Tisoxin joins (~ikosit@user/ikosit) |
| 2022-02-02 21:14:08 | → | sshine joins (~simon@hubris.eta.solutions) |
| 2022-02-02 21:14:08 | → | lambdabot joins (~lambdabot@haskell/bot/lambdabot) |
| 2022-02-02 21:14:48 | → | dnzm joins (~dnzm@2001:470:69fc:105::97e) |
| 2022-02-02 21:14:48 | → | nivpgir[m] joins (~nivpgirma@2001:470:69fc:105::f5b2) |
| 2022-02-02 21:14:57 | × | nivpgir[m] quits (~nivpgirma@2001:470:69fc:105::f5b2) (Ping timeout: 245 seconds) |
| 2022-02-02 21:15:02 | × | meain quits (~meain@2001:470:69fc:105::2db) (Ping timeout: 240 seconds) |
| 2022-02-02 21:15:03 | × | contessa quits (~contessa@2001:470:69fc:105::a9f) (Ping timeout: 240 seconds) |
| 2022-02-02 21:15:19 | → | form_feed joins (~form_feed@user/f/x-7101985) |
| 2022-02-02 21:15:19 | → | artefact joins (~artefact@137.185.137.88.rev.sfr.net) |
| 2022-02-02 21:15:21 | × | dnzm quits (~dnzm@2001:470:69fc:105::97e) (Ping timeout: 245 seconds) |
| 2022-02-02 21:15:38 | × | ryanprior[m] quits (~ryanprior@2001:470:69fc:105::1742) (Ping timeout: 260 seconds) |
| 2022-02-02 21:15:51 | × | Tisoxin quits (~ikosit@user/ikosit) (Ping timeout: 250 seconds) |
| 2022-02-02 21:16:06 | × | WolfIcefang[m] quits (~wolficefa@2001:470:69fc:105::a3f1) (Ping timeout: 260 seconds) |
| 2022-02-02 21:31:59 | → | dnzm joins (~dnzm@2001:470:69fc:105::97e) |
| 2022-02-02 21:32:12 | → | nivpgir[m] joins (~nivpgirma@2001:470:69fc:105::f5b2) |
| 2022-02-02 21:54:09 | → | WolfIcefang[m] joins (~wolficefa@2001:470:69fc:105::a3f1) |
All times are in UTC.