System.cmd error: (ErlangError) Erlang error: :enoent

Since source isn’t an executable but a shell builtin you can’t run it with System.cmd/3.