Solved

Linux - Lisp

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
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…
A short film showing how OnPage and Connectwise integration works.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

932 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

12 Experts available now in Live!

Get 1:1 Help Now