-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I am not sure whether this is the right module for this piece of code. But I am looking for your advice.
On Windows I run into trouble because run() does not work as I expected it from my linux boxes.
Example: on the windows shell you can invoke prove ..... and it works, but with run() you can't because it in fact it is a prove.bat that you're invoking.
So it is hard to write platform independend code. (e.g. skaji/mi6#40) This piece is stolen from zef.
my @run-invoke = BEGIN $*DISTRO.is-win ?? <cmd.exe /x/d/c>.Slip !! '';
sub zrun(*@_, *%_) is export { run (|@run-invoke, |@_).grep(*.?chars), |%_ }
Metadata
Metadata
Assignees
Labels
No labels