James Goldstone, Emmy-winning director who helmed the pilot episode of “Star Trek,” died Nov. 5 of cancer at his home in Shaftsbury, Vt. He was 68.

Goldstone directed the pilot episode, “Where No Man Has Gone Before,” in 1966, though he did not even view the final version. He had such a strong aversion to working in weekly TV that he refused to stay with “Star Trek,” even when offered a percentage deal.

He directed episodes of “The Outer Limits,” “The Fugitive” and “The Man from U.N.C.L.E.” before being hired for the “Star Trek” debut.

Goldstone later focused on TV movies, miniseries and films. He directed the 1970 TV movie “Clear and Present Danger,” and worked on the miniseries “Studs Lonigan” (1979) and “The Sun Also Rises” (1984).

In 1981, Goldstone won an Emmy for directing the TV movie “Kent State.”

He also directed several feature films such as “Winning” (1969), “Red Sky at Morning” (1971) and “The Gang that Couldn’t Shoot Straight” (1971).

Goldstone served as head of the Vermont Film Commission and was a visiting professor in film at the Columbia U School of the Arts.