You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I must have written this example before we switched to startProcess. Using startProcess we're not running in a normal terminal (so using bash for example), but rather with /bin/sh. pushd and popd are specific bash (and other posix extending terminal emulator) features. So that's why it says pushd: not found. That's a regression in some sense, of course. Need to think about this.
it really seems like I broke the handling of strings. I guess in the past this correctly redirected to text.txt with two lines. In order for it to work, I now need to manually hand an explicit string:
I suppose I changed the string handling to make precisely this work. The idea being that a Nim string should just be handed "as is" in terms of the content to the shell. The example implies however, that the entire thing is handed as written to the shell. The latter is convenient in some cases (like here), but restricting in others (in the more common ones). Because we really need to be able to overwrite the limitations of the Nim grammar for many practical uses cases.
Just tried nim-2.0.0 on Linux Mint 21.2 (Ubuntu 22.04 based)
It seems that the quotation marks got lost.
Have i done something wrong?
Just compiled with nim c {file,nim}
Throws following:
The text was updated successfully, but these errors were encountered: