[Project_owners] Access to Terminal

joe ertaba belaviyo at gmail.com
Sun Jan 27 05:08:39 PST 2008


On Jan 27, 2008 4:12 PM, Marcelo Andrade <mfandrade at gmail.com> wrote:

> On Jan 27, 2008 9:39 AM, joe ertaba <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 :)

>
>
> --
> 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
> https://www.mozdev.org/mailman/listinfo/project_owners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mozdev.org/pipermail/project_owners/attachments/20080127/483a35b4/attachment.html 


More information about the Project_owners mailing list