I get the same error:
Julia>run(`pwd`) what I tried to execute
ERROR: could not spawn `pwd`: no such file or directory (ENOENT) in
_jl_spawn at process.jl:262
I am attaching a screen shot
On Friday, August 19, 2016 at 9:35:12 AM UTC-4, Jeffrey Sarnoff wrote:
>
> what do you see with this (in Julia, note the backtics are not single
> quotes)
> julia> run(`pwd`)
>
> On Friday, August 19, 2016 at 8:41:51 AM UTC-4, Pigskin Ablanket wrote:
>>
>> Ok - This makes sense to me.......but:
>>
>> When I proceeded with julia>;pwd this is the response I got: Error: could
>> not spawn `pwd`: no such file or directory (ENOENT) in _jl_spawn at
>> process.jl:262
>>
>> No idea what that means :(
>>
>> Once again - feel like my questions are probably introductory, and I
>> appreciate your time.
>>
>> The actual name of the code I am trying to open is titled
>> "Code_for_Github.jl"
>>
>>
>>
>> On Friday, August 19, 2016 at 6:26:20 AM UTC-4, Ayush Pandey wrote:
>>>
>>> Hello there,
>>> I think you need to change to the directory where your file is present.
>>>
>>> You can try to use command line within julia like:
>>> julia > ;pwd #Check your present working directory
>>> julia> ;cd /path_to_the_directory_where_your_file_is_present
>>>
>>> OR
>>> try to give the absolute path of the directory (Assume your file is
>>> present in home directory on linux)
>>>
>>> julia>open("/home/Filename.jl")
>>>
>>> I hope it helps :)
>>>
>>>
>>> *Yours Sincerely,*
>>> *Ayush Pandey* * <https://github.com/Ayush-iitkgp> *
>>> ayush-iitkgp.github.io/
>>>
>>> On Fri, Aug 19, 2016 at 1:54 PM, Pigskin Ablanket <[email protected]>
>>> wrote:
>>>
>>>> Ok, I am trying to familiarize myself with a study published using
>>>> Julia. I have Julia up and running, but cant seep to get the actual code
>>>> open.
>>>>
>>>> Here is what I done so far:
>>>>
>>>> julia> Pkg.add("JuMP")
>>>> julia> Pkg.add("DataFrames")
>>>> julia> Pkg.add("GLPKMathProgInterface")
>>>>
>>>> I believe I successfully added the requisite programs. all good. Now I
>>>> downloaded the code via CSV.
>>>>
>>>> It contains the Code in a .jl file, license file, readme file and a couple
>>>> excel CSV files needed.
>>>>
>>>> I tried top open the file using Julia> Open("Filename.jl") and got the
>>>> following error:
>>>>
>>>> *No such file or directory in open at iostream.jl:90 **in open at
>>>> **iostream.jl:99*
>>>>
>>>> My sense is that I dont have the file in the right directory, but this is
>>>> where I get over my skis.
>>>>
>>>> Is that the issue? How do I make Julia find the file? Sorry or such
>>>> basic questions !!!!
>>>>
>>>>
>>>