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
The Exec command unfortunately does not allow checking the exit state of whatever it invoked. It also has other problems.
Instead I recommend to use the Process function directly, or possibly your own helper function based on it. Here is a simple example I've given to people before:
(I also propose a generally useful replacement for Exec in gap-system/gap#5103 -- feel free to copy it to this package and use it (but please only after renaming it) -- or perhaps a much simpler variant is enough for you, see e.g.
The text was updated successfully, but these errors were encountered:
The
Exec
command unfortunately does not allow checking the exit state of whatever it invoked. It also has other problems.Instead I recommend to use the
Process
function directly, or possibly your own helper function based on it. Here is a simple example I've given to people before:(I also propose a generally useful replacement for
Exec
in gap-system/gap#5103 -- feel free to copy it to this package and use it (but please only after renaming it) -- or perhaps a much simpler variant is enough for you, see e.g.The text was updated successfully, but these errors were encountered: