Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Does not play nice when run from a subshell #43

Description

@sawcordwell

I'm using Linux with Julia 0.3.7 and I wanted to quickly set up inotify-tools to watch my project and run the test sweet when I saved any files. The quickest script to write was to run the tests from a subshell. The minimal version would look like this run.sh file:

#!/usr/bin/bash
$($@)

If I use Base.Test then I get output as expected from base_test.jl:

module Tests
using Base.Test
@test 1 == 2
end

Used like bash run.sh julia base_test.jl will print the error message.

However fact_check.jl

module Tests
using FactCheck
facts() do
    @fact 1 => 2
end
end

bash run.sh julia fact_check.jl will print nothing. If run.sh has an echo instead:

#!/usr/bin/bash
echo $($@)

then I get the output but it is not formatted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions