I am trying to do
exec("DISPLAY=127.0.0.1:0.0 foo")
Errno::ENOENT: No such file or directory - DISPLAY=127.0.0.1:0.0 foo
    from (irb):1:in `exec'
    from (irb):1
    from :0
How to fix? Thanks.
I am trying to do
exec("DISPLAY=127.0.0.1:0.0 foo")
Errno::ENOENT: No such file or directory - DISPLAY=127.0.0.1:0.0 foo
    from (irb):1:in `exec'
    from (irb):1
    from :0
How to fix? Thanks.
 
    
    