Solved

Linux - Lisp

Posted on 2006-11-29
6
189 Views
Last Modified: 2010-04-22
Does anyone know what happenes when we type clisp on the LINUX shell and press enter key. It'l display the Clisp prompt. But I want to waht happens internallly. whether the clisp software is loaded to the current shell or is it a seperate shell?
0
Comment
Question by:Manori
  • 2
6 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 125 total points
ID: 18035119
Hi Manori,

Whatever command you type is typically launched in separate subshell forked by your main shell. If you wish to launch a command in current shell, it is launched as

]$. command

note the leading .

Cheers!
sunnycoder
0
 
LVL 6

Assisted Solution

by:xRalf
xRalf earned 125 total points
ID: 18035160
If you want to know what happens internally, you should study the system calls dealing with processes. Here is a good tutorial http://www.cs.cf.ac.uk/Dave/C/node22.html#SECTION002200000000000000000
0
 

Author Comment

by:Manori
ID: 18035421
thanks for the comments..

do you know any way of openeing a vi editor from a php file remotely.?
with system() or execute() work?
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 18035446
Hi Manori,

I am not much familiar with PHP but system() and execute() are fairly common in all languages .... Typically, system("vi") would launch vi and your program would wait for vi to exit before it proceeds further while fork/exec would launch vi as a different process and your main process can continue in parallel.
PHP TA might be a better place to ask this question
http://www.experts-exchange.com/Web/Web_Languages/PHP/

Cheers!
sunnycoder
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question