Re: Problem with Run
- To: mathgroup at smc.vnet.net
- Subject: [mg112531] Re: Problem with Run
- From: David Bailey <dave at removedbailey.co.uk>
- Date: Sun, 19 Sep 2010 05:36:49 -0400 (EDT)
- References: <firstname.lastname@example.org>
On 18/09/10 12:26, pratip wrote:
> Dear Group,
> I have a executable in my home directory in Linux (Ubuntu). I can open
> the Linux command line terminal and execute the program just by typing
> Now my question is if there is any chance to do the same from
> Mathematica front end by typing
> In that case I can use this application "MYPROGRAM" to run from with
> in a Mathematica code whenever I need.
> Now if I do the above in my 64bit Ubuntu I get the following.
> In:= Run["./MYPROGRAM"]
> Out= 32512
> I can understand that the program has not run by the above command.
> Because when I run it from the terminal by typing "./MYPROGRAM" it
> runs and generates a file in the home directory as its programmed to
> do. In case of the Mathematica Run["./MYPROGRAM"] no such program
> output file is generated.
> Hope someone can help me here.
I don't think Mathematica is looking the correct directory - try
Prev by Date:
Re: NSolve using crushes mathematica 7
Next by Date:
Re: Contraction of Tensors in Mathematica
Previous by thread:
Problem with Run
Next by thread:
Solving a system of equations without having to define exact