[Mono-bugs] [Bug 450170] New: Process weirdness with asterisk in arguments
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Nov 28 15:01:36 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=450170
Summary: Process weirdness with asterisk in arguments
Product: Mono: Runtime
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: io-layer
AssignedTo: dick at novell.com
ReportedBy: gert.driesen at pandora.be
QAContact: mono-bugs at lists.ximian.com
Found By: ---
I'm launching scp using System.Diagnostics.Process to copy some files to a
remote system.
This works fine on Windows (using cygwin), but on Linux it fails with the
following error:
cannot stat `*': No such file or directory
Executing the exact same command from bash works just fine.
To reproduce (without needing a remote system), compile and run the following
code:
using System;
using System.IO;
using System.Diagnostics;
public class Program
{
public static void Main (string [] args)
{
Process p = new Process ();
p.StartInfo.FileName = "scp";
p.StartInfo.Arguments = "* /tmp";
p.Start ();
p.WaitForExit ();
}
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list