// Execute the command. Process process = new Process(); process.StartInfo.FileName = "cmd.exe"; process.StartInfo.Arguments = "/C " + command; process.StartInfo.UseShellExecute = false; process.StartInfo.RedirectStandardOutput = true; process.StartInfo.RedirectStandardError = true; process.Start();
using UnityEngine; using System.Diagnostics; using System.IO; supercopier+5+unity+top
void CopyWithSupercopier(string source, string destination) { try { // Construct the command. This may vary based on Supercopier's CLI options. string command = $"supercopier \"{source}\" \"{destination}\""; // Execute the command
CopyWithSupercopier(sourcePath, destinationPath); } process.StartInfo.FileName = "cmd.exe"
process.WaitForExit();
public class SupercopierIntegration : MonoBehaviour { void Start() { string sourcePath = @"C:\Source\Assets"; string destinationPath = @"C:\Destination\Assets";
string output = process.StandardOutput.ReadToEnd(); string errors = process.StandardError.ReadToEnd();
POZ uses cookies to provide necessary website functionality, improve your experience, analyze our traffic and personalize ads. Our Privacy Policy
POZ uses cookies to provide necessary website functionality, improve your experience, analyze our traffic and personalize ads. By remaining on our website, you indicate your consent to our Privacy Policy and our Cookie Usage.