Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jul 31, 2013 at 12:44 PM by Kristian for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by Kristian · Jul 31, 2013 at 10:06 AM · process

System.Diagnostics.Process.StandardInput not defined.

I recently tried creating a script for starting another process and communicating with it. It seemed to work fine and everything compiled, but unity's console complained giving the following error:

 Assets/FTPUpload.cs(99,36): error CS1061: Type `System.Diagnostics.Process' does not contain a definition for `StandardInput' and no extension method `StandardInput' of type `System.Diagnostics.Process' could be found (are you missing a using directive or an assembly reference?)

Since I can easily locate StandardInput in the script, and it compiles fine, I'm stumped. And I would like to know if anyone else experience the same problem? Or know of a workaround / solution.

To recreate simply try this small script StandardInputTest.cs:

 using UnityEngine;
 using System.Collections;
 using System.Diagnostics;
 
 public class StandardInputTest : MonoBehaviour {
     void Start()
     {
         Process test = new Process();
         test.StandardInput.WriteLine();
     }
 }

Thanks in advance!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
3
Best Answer

Answer by Graham-Dunnett · Jul 31, 2013 at 11:58 AM

  1. Visit: http://docs.unity3d.com/412/Documentation/ScriptReference/MonoCompatibility.html

  2. Wait for the page to load. It's very very very long.

  3. Search for "Class: Process"

  4. Observe a list of all the members that are supported.

  5. Scroll down and see StandardInput has webplayer in red meaning that this member is not supported on webplayer.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Kristian · Jul 31, 2013 at 12:09 PM 0
Share

Thanks a lot, that was exactly my problem! Automated SFTP upload, here I come!

Follow this Question

Answers Answers and Comments

16 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Process.GetProcessesByName(string str); not working 2 Answers

System.Diagnostics.Process consistently wrong 0 Answers

Writing to the standard output stream for another application to read 0 Answers

Cross-platform way to start new process? 1 Answer

Detect how much RAM is available? (IL2CPP) Process.GetCurrentProcess().WorkingSet64 returns zero 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges