joe ertaba wrote:
>
>
> On Jan 27, 2008 4:12 PM, Marcelo Andrade <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     On Jan 27, 2008 9:39 AM, joe ertaba <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
>     > in windows I can put "c:\\windows\\cmd.exe" to run command
>     prompt but what
>     > about linux ? what is the terminal path :)
>
>     "sh", and it always in the path.
>
> ok, which one is correct:
>
>    1. file.initWithPath("/");
>    2. file.initWithPath("sh");
>    3. file.initWithPath("/sh");
>
> var args = ["ls"];
> process.run(false, args, args.length);
>
> non of them works :)

$ which ls
/bin/ls

>
>
>     --
>     MARCELO DE FREITAS ANDRADE
>     | Computer Science Bachelor
>     | Web Application Dev Specialist
>     | Linux Certified Professional LPIC-1
>     _______________________________________________
>     Project_owners mailing list
>     [email protected] <mailto:[email protected]>
>     https://www.mozdev.org/mailman/listinfo/project_owners
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Project_owners mailing list
> [email protected]
> https://www.mozdev.org/mailman/listinfo/project_owners
>   


_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to