About process programming

Hi,
I was trying to run cvs from a java program using the following code:
Process proc = rt.exec("c:\\tools\\wincvs\\cvsnt\\cvs -d :pserver:[email protected]:/var/local/cvshome login");
Now when the command is entered in dos prompt -
c:\tools\wincvs\cvsnt\cvs -d :pserver:[email protected]:/var/local/cvshome login
the cvs asks for the password using its own prompt.
Now when I run my java program, all I see is a prompt blinking as usual but accepting no input and showing no output and my program is also stuck there. cvs can be run with other commands (update, check out etc except login command) by the same java program (i.e. changing the paramer in exec method) after loggin is done in dos prompt (before my program is run). It apears to me that some how there is a conflict for IO. I put my java program to sleep so that cvs have the console but no effect. I am not sure how command line programs (like cvs) when run as a process by java programs are given their own console (input/output). For GUI program like Notepad.exe, u know it runs in its own window. You may wonder why i am not calling the GUI version of cvs. What I am trying to do is like other programs such as 'ant' of 'intelliJIDEA' do. They update or commit files without explicitly calling wincvs.
Also like other programming languages which are very emphatic about IPC and semaphone and blah blah, where are the equivalent things in java hidden.
PS: Does anybody has any idea how to send parameters to login command of cvs? For IntelliJIDEA, using update or commit commands doesnot require loggin on. I wonder how IntelliJIDEA does that.

This link is supposed to be attached to every post about Runtime.exec().
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
Now it's attached to yours too.

Similar Messages

  • What word processing program should I use with my Mac, what word processing program should I use with my Mac, what word processing program should I use with my Mac

    what word processing program should I use with my Mac?

    steve359 wrote:
    For free you can download NeoOffice
    Not quite. Downloading the current version of NeoOffice is definitely not free (downloading the previous version is). The developers of NeoOffice (the most Mac-like of the StarOffice descendants) make a distinction between the application itself (which is free) and downloading it, for which they require what they are pleased to call a "donation" (since it's mandatory, I would call it a fee).
    shldr2thewheel wrote:
    I totally forget about TextEdit all the time..
    Indeed. For basic WP tasks, TextEdit can be quite satisfactory.
    embauerxz
    I only need it for reports
    Would that include the report on the state of the US economy -- you know, the one President Obama asked you to deliver to the White House no later than 7AM on January 4? The one in two columns, with numbered paragraphs, table of contents, footnotes, mathematical formulae, 40 figures, 60 charts, quotations in Arabic, Japanese, and classical Greek, and 15 pages of references in APA style?
    Grant Bennet-Alder is right -- "the real answer depends on what work you expect to do with it, and with whom you expect to do this work". There are dozens of word processors for Mac, from the venerable Word to the no less venerable Tex-Edit+. It would pointless to start listing them all, when many of them might be either too little or too much for your needs.

  • I recently updated to the OSX 10.8.3 Operating Sistem.  I am writing a book and now cannot open any word document I've created.  Could not find a newer version of the Microsoft Word Processing Program.  Is Pages the next thing? Can I recover my documents?

    I recently updated to the OSX 10.8.3 Operating Sistem.  I am writing a book and now cannot open any word document I've created with the old system.  Could not find a newer version of the Microsoft Word Processing Program.  Is Pages the next thing? Can I recover my documents?  How?

    I'm in the same boat: new to OS X and Mac, and in the middle of a book. I switched because I heard about the the ease of using Mac, but so far, for me, it's been a nightmare. I bought 2011 Office Mac and hate everything about it, the most recent being the inability to open or cut or paste any of my original word files. I understand that this could have easily been done with earlier versions, but not Mountain Lion (which I learned is what OSX is.) Since I work with language, I am amazed at the assumptions of the Apple community. It helps to use common language and explain even the basics.  
    So all the helpful hints to use the latest version of Office Mac are to no avail. Now what?

  • Getting Err  : An error occurred in the message processing program.

    Hi, Im wrking with Smartforms.
    I have assigned output type LD00 ,with driver prgrm name and Smf name.
    after that executing with VL03N , its giving error .
    Output could not be issued
    Message no. VL086
    Diagnosis
    An error occurred in the message processing program.
    Procedure
    Contact your system administrator.
    ...Actually i have orginal prgrm (zsmf_Orginal) there i had to do some modifications , so after copying that same form into another form(zsmf_Duplicate), i made some changes there, both form are executing in T code SMARTFORMS, but while testing with VL03N , its showing above mentioned err.
    Plz have eye on it.
    <removed by moderator>
    Regards
    vivek.
    Edited by: vivekd358 on Jul 10, 2010 7:35 AM
    Edited by: Thomas Zloch on Jul 12, 2010 11:35 AM

    closed

  • About the program of free Lion

    I just bought a macbook pro with snow leopard. I learned about the program for free Lion. I purchased it from Italy, but i live in Greece and i have a greek account in apple. Can i take a redeem code via greek store? Or i have to take it from an italian account?

    Hi Alex,
    Contact AppleCare and they should be able to help you out.

  • Question about the programming of a legend

    Hello everybody,
    I have a question about the programming of a waveform's legend. I
    already asked here in this forum about the legend programming (03)
    months ago.
    I went satisfied but I ve just noticed that this code
    (See Code old_legend_test.llb with main.vi as main function) operates a
    little different from my expectances.
    Therefore I have a new question and I want to know if it
    is possible by labview programming to plot and show, on a waveform
    chart, a signal with activ plot superior to zero (0) without to be
    obliged to plot and show a signal with activ plot equal to zero (0) or
    inferior to the desired activ plot.
    I give you an example
    of what I m meaning. I have by example 4 signals (Signal 0, 1, 2 and 3)
    and each signal corresponds respectively to a channel (Chan1, Chan2,
    Chan3, Chan4). I want to control the legend (activ plot, plot name and
    plot color) programmatically. Is it possible with labview to plot signal
    1 or 2 or 3 or (1, 3) or (2,3) or (1,2,3) or other possible combination
    without to active the signal with the corresponding activ plot zero
    (0)?
    Let see the labview attached data
    (new_legend_test.llb with main.vi as main function). When I try to
    control the input selected values again I get them back but I don't
    understand why they have no effect on the legend of my waveform chart.
    Could somebody explain me what I m doing wrong or show me how to get a
    correct legend with desired plots? Thank by advance for your assistance.
    N.B.
    The
    both attached data are saved with labview 2009.
    Sincerly,PrinceJack
    Attachments:
    old_legend_test.llb ‏65 KB
    new_legend_test.llb ‏65 KB

    Hi
    princejack,
    Thanks for
    posting on National Instruments forum.
    The behavior
    you have is completely normal. You can control the number of row displayed in
    the legend and this rows are linked to the data you send to your graph. Thus,
    if you have 3 arrays of data, let say chan1, chan2 and chan3, you can choose
    which data you want to display in your graph using the property node (Active
    plot and visible). But for the legend as you send 3 plots there is an array of
    the plot name [chan1, chan2, chan3] and you can display 0, 1, 2 or 3 rows of
    this array but you cannot control the order in this array! So, to be able to
    change this array you have to only send data you need to you graph. I'm not
    sure my explanations are clear so I have implemented a simple example doing
    that.
    Benjamin R.
    R&D Software Development Manager
    http://www.fluigent.com/
    Attachments:
    GraphLegend.vi ‏85 KB

  • Pages 4.3 was a useful technical word processing program; Pages 5 is not. Does anyone know if Apple intends to improve Pages 5, at least to the level of Pages 4.3?

    Pages 4.3 was a useful technical word processing program; Pages 5 is not. Does anone know is Apple intends to improve Pages 5 at least to the level of Pages 4.3?

    We used 4.3 as an effective tool for thesis production but in many ways it has become kind of a simplistic joke. Sad indeed and I wish there was some evidence they were remotely concerned. PeterBreis0807's response of "No" is spot on. We will continue to use 4.3 as long as it works as a time-saving substitute for Word.

  • I am getting a message "can't open because PowerPC applications are no longer supported"  What do I do about these programs?

    I am getting a message "can't open because PowerPC applications are no longer supported."  What do I do about these programs?

    In defense of the original poster, I just went through the Lion page (http://www.apple.com/macosx/) and the sub-pages linked on the top (including the 250 new features) and nowhere does it say anything about dropping Rosetta/PowerPC compatibility. A simple compatibility line in the tech specs page could help these kinds of threads. Nevertheless, the argument that Apple should have made this change more prominent is quite valid IMO.
    Remember that Apple prides itself on being simple so don't expect everyone to be as up to date on compatibility issues as you. With the big uptake of new users in the last couple of years, these kind of questions should be expected, especially since most users are coming from Windows where compatibility is king (I can run apps from 10+ years ago with almost no issues).
    Complicating the issue further is that there is no obvious way to see which older applications are PPC and which are not (who knew Warcraft 3 was PPC and not universal??).
    A simple solution could be for Apple to provide copy of Rosetta that users can purchase if they want compatibility. Who knows, maybe such a solution is going to come from a third party

  • How do I make Pages the default word processing program?

    How do I make Pages the default word processing program, including Appleworks files?
    I want any Appleworks file I open to open in Pages - is there a setting to make that happen?

    Hello ADW,
    To change the default programme used to open a filetype, Get Info on one of the files you are looking to set, the change the Open With selection to Pages.
    Then click on Use this application to open all documents like this one.
    You will have to repeat this for each file type you want to use that way.
    Have a wonderful day!
    -=C=-

  • In order to run Dragon, we upgraded our OSx to Maverick. Now we can't find our word processing program and Appleworks 6 is not supported. Doesn't a word processing program come with the upload of Maverick?

    We upgraded our Mac OS X to a Maverick in order to run a Dragon Program. However, we no longer have a word processing program!  Appleworks is not supported.  Doesn't the upgraded Maverick have a word processing program included?

    Lady Artemis wrote:
    We upgraded our Mac OS X to a Maverick in order to run a Dragon Program. However, we no longer have a word processing program!  Appleworks is not supported.  Doesn't the upgraded Maverick have a word processing program included?
    Not included.  You can purchase Pages in the App Store, or use a free word processor like Bean or a free office suite like  LibreOffice or OpenOffice (and there's also MicroSoft Office for Mac)

  • Oracle BPM Java API - getting informations about process activities

    Hi
    I have a problem with Oracle BPM Java API, can someone help me?
    I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
    Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
    I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
    I did some tests, below a piece of code of my test:
    IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
    IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
    IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
    List<ProcessMetadataSummary> processMetadataSummaryList =
    processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
    if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
    return;
    ProcessMetadataSummary processMetadataSummary = null;
    for (ProcessMetadataSummary summary: processMetadataSummaryList) {
    if (summary.isIsDefaultRevision()) {
    processMetadataSummary = summary;
    break;
    if (processMetadataSummary == null)
    processMetadataSummary = processMetadataSummaryList.get(0);
    IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
    oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
    Sequence<UserTask> activities = process.getActivities(UserTask.class);
    for (UserTask activity: activities) {
    System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
    There is another way to get this information?
    Thank's

    Hi
    I have a problem with Oracle BPM Java API, can someone help me?
    I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
    Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
    I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
    I did some tests, below a piece of code of my test:
    IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
    IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
    IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
    List<ProcessMetadataSummary> processMetadataSummaryList =
    processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
    if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
    return;
    ProcessMetadataSummary processMetadataSummary = null;
    for (ProcessMetadataSummary summary: processMetadataSummaryList) {
    if (summary.isIsDefaultRevision()) {
    processMetadataSummary = summary;
    break;
    if (processMetadataSummary == null)
    processMetadataSummary = processMetadataSummaryList.get(0);
    IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
    oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
    Sequence<UserTask> activities = process.getActivities(UserTask.class);
    for (UserTask activity: activities) {
    System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
    There is another way to get this information?
    Thank's

  • What is best word processing program for mac mini osx 10.4.11

    what is best word processing program for mac mini osx 10.4.11?

    Well, Text Edit is built in & free.
    Lots of people like Bean or Text Wrangler...
    http://www.bean-osx.com/Bean.html
    http://www.barebones.com/products/textwrangler/

  • What is the best word processing program for mac?

    What is the best word processing program for Mac?

    That's an impossible question to answer - what type of writing will you be doing?
    Before we can point you in a direction you need to tell us what kind of writing you will be doing. As phrased, the question is a bit like "what's the best car?" Well few would doubt that a Ferrari is superior to a Honda minivan, but the Ferrari will not much use if you're dragging 4 kids, two dogs and the grandparents along.
    Academic?
    Word is the nearest thing to a standard format in the Humanties, but in the sciences and math you'll find Tex more useful for laying out formulas. The older Pages is quite good as a substitute for Word in many cases in the Humanties, but you'll have big problems with citations in the newer version. Apps like Nisus Writer Pro and Mellel are more powerful than Pages, but each have shortcomings. Scrivener and Ulysses are excellent drafting tools but you'll need a Word Processor for final layout. There are lots and lots of lightweight editors out there - Byword, iaWriter (and Writer Pro), OmmWriter - that have little functional use in Academic settings - poor or no support for citations for instance, or poor or no interoperability with Word - but which might be excellent for other uses.
    So, back to the key question: what kind of writing will you be doing?

  • What is the best word processing program for ipad2?

    What is the best word processing program for ipad2?

    I would recommend using Pages for what you are doing. It is the best one to use on the iPad itself, and has the ability to convert to an MS Word format. I know that it can do this through email, but I am also fairly certain you can import it in this format through iTunes, though you may need to convert it on the iPad itself.
    With iOS 5 and iCloud, I recommend kicking Word to the curb altogether and going with Pages on both machines. Not only will everything be more seamless, but iCloud will update the changes you make, on either device, automatically. And Pages is only 20 bucks through the App store for the Mac (OS 10.6.7 or later needed).

  • Is there an easy to use word processing program that works on the iPad?

    Is there an easy to use word processing program that works on the iPad?

    A gazillion.  Pages, docs to go, quick office.  Look in the app store for word processing.  Read the reviews.

Maybe you are looking for

  • Mac didn't come with iLife!

    I just bought my MacBook Pro on Sunday from Virgin Megastores and it didn't come with iLife and I did my research and it says that it should have come with it! What should I do? Should I take it back and tell them that it didn't come with it? Because

  • Number in report column

    How can i add % sign in the report number column? like 12%,15% Thanks KP

  • Configuration not possible for materi Reason 1 -- Help

    Dear Experts, Please suggest your valuable points for the above subjected issue. Im facing the issue while creating the sale order in va01 t-code. regards, Vimal

  • XMLLists as Dataprovider problem

    I have an XML variable "theResult" equal to the following xml from a flickr webservice call (without data): <rsp> <photos> <photo> <tags> <tag>here1</tag> <tag>here2</tag> <tag>here3</tag> </tags> </photo> <photo/> <photo/> <photo/> <photo/> </photos

  • New Graphic Designer...Need help on iMac Purchase

    Hi all. I am an aspiring graphic designer who needs to purchase an iMac that will fulfill my needs. I have a limited budget, but I would rather spend the money now then have to spend more in the future. I would like to get some ideas on how much memo