[Project_owners] Access to Terminal

Jesper Staun Hansen jesper at selvet.dk
Sun Jan 27 05:10:08 PST 2008


joe ertaba wrote:
>
>
> On Jan 27, 2008 4:12 PM, Marcelo Andrade <mfandrade at gmail.com 
> <mailto:mfandrade at gmail.com>> wrote:
>
>     On Jan 27, 2008 9:39 AM, joe ertaba <belaviyo at gmail.com
>     <mailto:belaviyo at gmail.com>> 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
>     Project_owners at mozdev.org <mailto:Project_owners at mozdev.org>
>     https://www.mozdev.org/mailman/listinfo/project_owners
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>   




More information about the Project_owners mailing list