Subj : system.exec() and commands in double-quotes
To : Digital Man
From : Nightfox
Date : Wed Apr 09 2025 09:19 am
Re: system.exec() and commands in double-quotes
By: Digital Man to Nightfox on Tue Apr 08 2025 09:54 pm
DM> No, the double-quotes won't be removed. system.exec() is just a very-thing
DM> wrapper around system():
DM>
https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/system-w
DM> syste m?view=msvc-170
>> I'm also wondering if the same thing would happen on Linux (I haven't
>> tested that).
DM> Nope, shouldn't.
DM>
https://www.man7.org/linux/man-pages/man3/system.3.html
DM> Did you escape the double-quotes in the JS string passed to system.exec()?
DM> I think there's something else at play here.
I did escape the double-quotes. I'll work on it more. Thanks.
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com