Logs on 2023-08-07 (liberachat/#xmonad)
| 01:58:49 | × | kaskal quits (~kaskal@2001:4bb8:2dd:a79d:1a7:8529:b79b:cfa) (Quit: ZNC - https://znc.in) |
| 02:03:15 | → | kaskal joins (~kaskal@213-147-167-98.nat.highway.webapn.at) |
| 02:34:42 | × | td_ quits (~td@i5387092A.versanet.de) (Ping timeout: 246 seconds) |
| 02:36:32 | → | td_ joins (~td@i53870914.versanet.de) |
| 03:58:39 | × | shapr quits (~user@2600:1700:c640:3100:9415:bb5d:ae7f:5570) (Ping timeout: 260 seconds) |
| 05:33:08 | × | haskl quits (~haskl@user/haskl) (Remote host closed the connection) |
| 05:33:28 | → | haskl joins (~haskl@user/haskl) |
| 07:28:27 | → | cfricke joins (~cfricke@user/cfricke) |
| 09:17:48 | × | ft quits (~ft@p3e9bcd02.dip0.t-ipconnect.de) (Quit: leaving) |
| 09:54:47 | × | Benzi-Junior quits (~BenziJuni@dsl-149-64-112.hive.is) (Ping timeout: 246 seconds) |
| 11:48:09 | → | kayvank joins (~user@52-119-115-185.PUBLIC.monkeybrains.net) |
| 12:03:15 | ← | kayvank parts (~user@52-119-115-185.PUBLIC.monkeybrains.net) (ERC 5.4 (IRC client for GNU Emacs 28.1)) |
| 13:08:10 | → | Benzi-Junior joins (~BenziJuni@dsl-149-64-112.hive.is) |
| 17:52:56 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 244 seconds) |
| 19:16:04 | → | ft joins (~ft@p3e9bcd02.dip0.t-ipconnect.de) |
| 22:15:59 | <jabuxas> | how could i put `LD_PRELOAD="$LD_PRELOAD:/usr/\$LIB/libgamemodeauto.so.0" XL_SECRET_PROVIDER=FILE xivlauncher` inside a spawn in EZConfig? |
| 22:16:14 | <jabuxas> | xmonad doesn't like the $ inside the command |
| 22:17:18 | <geekosaur> | what it really doesn't like are the double quotes; you need to escape them |
| 22:18:10 | <geekosaur> | `spawn "LD_PRELOAD=\"$LD_PRELOAD:/usr/\$LIB/libgamemodeauto.so.0\" XL_SECRET_PROVIDER=FILE xivlauncher"` |
| 22:18:56 | <fizzie> | Does that really need a \ in \$LIB? |
| 22:20:36 | <fizzie> | Or rather, if it needs a \ in the command, it'd presuambly need a \\ in the Haskell, since \$ is no escape sequence. |
| 22:23:02 | <geekosaur> | true |
| 22:23:18 | <geekosaur> | but I'm not sure what's going on there… |
| 22:27:01 | <geekosaur> | assuming it came out of a shell script or shell command line, it'd be `spawn "LD_PRELOAD=\"$LD_PRELOAD:/usr/\\$LIB/libgamemodeauto.so.0\" XL_SECRET_PROVIDER=FILE xivlauncher"` |
| 23:07:52 | <jabuxas> | yea it was a shell command, I had tried changing " to ' but didn't have success. didn't try to escape it. ty both |
| 23:08:34 | <geekosaur> | right, '' in shell causes `$LD_PRELOAD` to not expand |
| 23:08:56 | <geekosaur> | and you can't wrap a string in `''` in Haskell |
All times are in UTC on 2023-08-07.