unix icon indicating copy to clipboard operation
unix copied to clipboard

I can't seem to get any commands to work, raw or typed.

Open smarsx opened this issue 2 years ago • 0 comments

using latest version of foundry on ubuntu 22.04. Trying a raw command like "echo hello world".run(); results in FAIL. Reason: Failed to execute command: No such file or directory (os error 2)

and any strongly typed command results in different errors like error[9574]: TypeError: Type contract Echo is not implicitly convertible to expected type contract Command. --> test/unix.t.sol:22:9:

error[9582]: TypeError: Member "run" not found or not visible after argument-dependent lookup in type(library Unix). --> test/unix.t.sol:23:48:

I created a demo repo to show https://github.com/smarsx/forge-unix

smarsx avatar Feb 19 '23 21:02 smarsx