How I can send a signal to a process

I use a Process.start() to run a extenal program, then I want to send a signal, such as ^C etc to this program.
The process class is too simple to do this.
How can I do this?
thank

I use a Process.start() to run a extenal program,
then I want to send a signal, such as ^C etc tothis
program.
The process class is too simple to do this.
How can I do this?If Process is too simple: JNIThanks first.
I tried to use JNI. But I can't get the native Output/Error output.
How can I get the native's Output? Or is there a method like Process.getInputStream()/getErrorStream()?
thanks

Similar Messages

  • Hi, I am using USB 8476s to communicat​e to a slave unit in LIN network using LabVIEW7.1​. Can anyone tell me how i can send a header file plus 1 byte of data to the slave in a LIN network. or how do i use ldf file. i want to read responses from the slave

    Hi,   I am using USB 8476s to communicate to a slave unit in LIN network. Can anyone tell me how i can send a header frame plus 1 byte of data to the slave in a LIN network. or how do I communictae with slave using LabVIEW7.1.
    I want to read responses from the slave. When i tried with labview exapmle programs or even using MAX also, while doing some switching action in my slave, i am getting response as Device inactive with timestamp but there is no data format. 
    And I have Lin Description File. Can you suggest me how to use ldf file.
    I am at customer place and It would be great help from you if you can suggest me at the earliest. Thank you

    you may use the LDF Starter Kit to use LDF informations in your application
    http://joule.ni.com/nidu/cds/view/p/id/665/lang/en

  • How i can send a mail to the user SAP Office mailbox through the spool.

    hi all,
    I have created an report and scheduled for background and it generated a spool now how i can send a mail to the user SAP Office mailbox through that spool.
                          please provide me the sample code if possible.
                   thanks.

    Read the spool number with this...
        SELECT RQIDENT
        INTO (T_TSP01-RQIDENT)
        FROM TSP01
        WHERE RQOWNER EQ SY-UNAME
          AND RQCLIENT EQ SY-MANDT.
        APPEND T_TSP01.
        ENDSELECT.
    Use this FM RSPO_IRETURN_RAW_DATA to read the content of the spool into an Internal Table...
    Finally use this FM SO_OBJECT_SEND to send the mail to an SAP Office user...
    Greetings,
    Blag.

  • How I can send pdf document  file in I pad

    How I can send pdf Document file in I Pad

    A simple and popular way to copy files and share files amoung your devices.
    https://www.dropbox.com/
    Using iTures to transfer files:
    http://support.apple.com/kb/HT4094?viewlocale=en_US&locale=en_US
    Files Connect -- The swiss army knife of remote file connect
    https://itunes.apple.com/us/app/files-connect/id404324302?mt=8
    Windows File server
    http://itunes.apple.com/us/app/filebrowser-access-files-on/id364738545?mt=8

  • I can´t send my videos fom my PC to my Ipad because the videos are in the .MP4 format and not in the .mp4, is there other types of .mp4 and then how I can send my videos to my Ipad?

    Hello everybody!
    I have a problem with my videos, well first of all I took videos with a camera for my school proyects and then I want to send those videos to my Ipad but there is a problem because when I tried to send my videos it said that those videos could not be synced and then I checked the video´s properties and it says that the format of those videos are .MP4 instead of the .mp4 format and i want to ask the community if there are other types of .mp4 formats and how I can send my videos?
    Please reply because I really need those videos for my school proyect.
    (sorry if my english is bad I dont use to speak english)

    Please upload the distmgr.log and PkgXferMgr.log to Skydrive and post the link here.
    Juke Chou
    TechNet Community Support

  • How I can send serial NI cFP-2220 output to RTU IEC 60870-5-101 ?

    Hello,
    I have to send my calculated data to remote SCADA via RTU which work on  IEC 60870-5-101.
    Does anybody have experience how I can send it via my serial port on NI cFP-2220?
    Thanks
    Mujo

    Hi,
    Does any budy know how to Use the function which comes under IEC 60870-5 104.
    i found a image at below site
     http://sine.ni.com/nips/cds/view/p/lang/en/nid/210149
    But it is only a write function .
    I would like to know how to Read.
    if you any budy have a example pls share.
    Regards
    Sandeep
    Attachments:
    IEC 60870 write Function.JPG ‏24 KB

  • How I can send photo from Nokia phone to my I pad

    How I can send photo from Nokia phone to my I pad

    can you e-mail off your Nokia? then open that mail onyour iPad and save from there

  • How i can send blob attachment with smtp email?

    any body can help me how i can send blob file?

    There are lots of example in the web.
    http://blogs.techrepublic.com.com/programming-and-development/?p=517&tag=content;leftCol

  • HT202724 How i can send multiple sms from mac without being a group message ?

    How i can send multiple sms from mac without being a group message ?

    Start new conversations, one for each recipient.

  • How i can send i message from my i phone to my i pad

    how i can send i message from my i phone to my i pad

    Activate iMessage on both your phone and your iPad.  Then send an iMessage to the email address you are using for iMessage on your iPad (which is shown in Settings>Messages>Receive At).

  • Can I send a signal to a process?

    In java, a process is started, then I want sent a ^C signal to this process, but with the javadoc, there are only destroy() can use. How can I do ?
    thanks
    Message was edited by:
    LizhiWang

    Don't crosspost.
    http://forum.java.sun.com/thread.jspa?threadID=774989

  • N80: how i can send SMS Picture?

    hi
    i have new N80, and i want send SMS Picture.
    how i can do that?

    Yep, sadly it has. I think the new phones can still receive the old picture messages, though I've not seen one for well over a year lol
    Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
    Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5

  • How i can send an email with attachement of any type format file in form10g

    I developed an application in forms 10g my application send an email via outlook but i want to attach any type of PDF or WORD document how i can attach the file and send this
    email via outlook if any one know please share your valuable experience with me.
    Thanks.
    deemy

    Hello,
    There is a javamail bean in the Oracle Forms 10gR2 Demos available on OTN
    http://www.oracle.com/technology/sample_code/products/forms/index.html
    Francois

  • How i can send an email with attachement of any type format file in form10

    I developed an application in forms 10g my application send an email via outlook but i want to attach any type of PDF or WORD document how i can attach the file and send this
    email via outlook if any one know please share your valuable experience with me.
    Thanks.
    deemy

    Hello,
    There is a javamail bean in the Oracle Forms 10gR2 Demos available on OTN
    http://www.oracle.com/technology/sample_code/products/forms/index.html
    Francois

  • How i can send songs/music files via bluethooth

    Pls help...  How we can transter the music files form Nokia N900 to other phones. I could find "send Via bluetooth" option when i open photos only.
    Solved!
    Go to Solution.

    C'mon!! Not even a quick search! This is one of the most popular questions here:
    The app you need is Petrovich:
    http://maemo.org/downloads/product/Maemo5/petrovic​h
    In the next firmware (PR1.2) this functionality will be built in.. no one is sure when that firmware will be out, though

Maybe you are looking for

  • Condição de Pagamento - atualização

    Bom dia pessoal,. tudo bem com vcs? Uma consulta, eu tenho cadastrado no sap umas 100 condições de pagamento que são a prazo com uma taxa por ex de 2 % todas elas, mas agora preciso atualizar todas para uma taxa 2,9 %, tem alguma forma de atualizar t

  • Advantages of Using Secure Connect in Cisco Jabber Version 9.0

    Hello, About a month ago we deployed Jabber for iPhone.   For VPN we used Cisco AnyConnect,certificate authentication and VPN on demand.   We used our MDM to deploy the certificates and AnyConnect configuration.    So far everything is working as des

  • Errors in execution of packages

    While executing a package on one environment, it gives no compilation error and it gives error in other environment. The error messages are like LINE/COL ERROR 0/0 PL/SQL: Compilation unit analysis terminated 1/14 PLS-00905: object package_name is in

  • Breakdown of Assertions

    Can anyone implement the following assertion (new in jdk1.4) using conditional operators?: assert true:"It's impossible this message is being printed!";

  • SelectOneMenu not showing bean value

    Hello, I have a simple h:selectOneMenu component that does not show the correct value from the backing bean. Here's the relevant code snippet: <h:outputText value="Has the site been inspected?: " /> <h:selectOneMenu id="siteInspected" value="#{adoptR