2023/08/07

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