Solved

Linux - Lisp

Posted on 2006-11-29
6
183 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now