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
Because a function is not an external command, but it still run after fork(), it could take arguments as other data types.
The counter argument is that it is consistent and simpler to just treat all commands as functions taking a list of strings. We need to flatten args anyway to deal with globbing.
The text was updated successfully, but these errors were encountered:
andrewchambers
changed the title
Commands that are janet functions don't necessarily need string conversion
Commands that are janet functions don't necessarily need argument string conversion
Jun 5, 2019
It may be desirable to explicitly allow and write tests for things like:
Because a function is not an external command, but it still run after fork(), it could take arguments as other data types.
The counter argument is that it is consistent and simpler to just treat all commands as functions taking a list of strings. We need to flatten args anyway to deal with globbing.
The text was updated successfully, but these errors were encountered: