Help

Discussion in 'AutoCAD' started by ganesh, Mar 23, 2005.

  1. ganesh

    ganesh Guest

    Is it possible to return LISP after executing another application through
    LISP
     
    ganesh, Mar 23, 2005
    #1
  2. ganesh

    GTVic Guest

    Hi, you shouldn't label your topic "Help" - not very informative... :)

    You said "return LISP" did you mean "return to LISP"? If you meant something else like return a value to LISP then more details would be helpful.

    There are a number of ways to execute another application via LISP and wait for it to complete. If the command line is complicated it might be easier to put it in a batch file (.bat or .cmd) and then execute the batch file.

    There is the dos_execute function in the doslib functions.
    (dos_execute "temp.cmd")

    or
    (command "shell" "test.cmd")

    you can also try the (startapp ...) LISP function

    also look at the START.EXE program options. Open a DOS prompt window and type START /?
     
    GTVic, Mar 23, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.